uwb: remove beacon cache entry after calling uwb_notify()
authorStefano Panella <stefano.panella@csr.com>
Tue, 23 Dec 2008 12:31:09 +0000 (12:31 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Tue, 23 Dec 2008 12:31:09 +0000 (12:31 +0000)
commit3af373021fa32f8f787bfbdcc1a9277a287bde4e
tree916f0e22168e81e4ab2a28f30410238bac7e6ffa
parenta01777ecf227de735d7e525ecda48fe74b838a17
uwb: remove beacon cache entry after calling uwb_notify()

Removing the beacon cache entry from a uwb_dev can cause an oops if the
bce is released before the call to uwb_notify().

Signed-off-by: Stefano Panella <stefano.panella@csr.com>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/beacon.c
drivers/uwb/lc-dev.c