projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uwb: remove beacon cache entry after calling uwb_notify()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
uwb
/
lc-dev.c
diff --git
a/drivers/uwb/lc-dev.c
b/drivers/uwb/lc-dev.c
index f78087b85918cb29d9cfa52a16045934a2816733..e9fe1bb7eb232ccda5f3a4a48581bc3a8b6ef752 100644
(file)
--- a/
drivers/uwb/lc-dev.c
+++ b/
drivers/uwb/lc-dev.c
@@
-375,6
+375,8
@@
int __uwb_dev_offair(struct uwb_dev *uwb_dev, struct uwb_rc *rc)
rc ? rc->uwb_dev.dev.parent->bus->name : "n/a",
rc ? dev_name(rc->uwb_dev.dev.parent) : "");
uwb_dev_rm(uwb_dev);
+ list_del(&uwb_dev->bce->node);
+ uwb_bce_put(uwb_dev->bce);
uwb_dev_put(uwb_dev); /* for the creation in _onair() */
return 0;