git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Stop BCSP/H5 timer before cleaning up
[pandora-kernel.git]
/
drivers
/
bluetooth
/
hci_h5.c
diff --git
a/drivers/bluetooth/hci_h5.c
b/drivers/bluetooth/hci_h5.c
index
f6f4974
..
afd759e
100644
(file)
--- a/
drivers/bluetooth/hci_h5.c
+++ b/
drivers/bluetooth/hci_h5.c
@@
-206,12
+206,12
@@
static int h5_close(struct hci_uart *hu)
{
struct h5 *h5 = hu->priv;
+ del_timer_sync(&h5->timer);
+
skb_queue_purge(&h5->unack);
skb_queue_purge(&h5->rel);
skb_queue_purge(&h5->unrel);
- del_timer(&h5->timer);
-
kfree(h5);
return 0;