projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: btmtksdio: Fix kernel oops when sdio suspend.
[linux-2.6-microblaze.git]
/
drivers
/
bluetooth
/
btmtksdio.c
diff --git
a/drivers/bluetooth/btmtksdio.c
b/drivers/bluetooth/btmtksdio.c
index
cbb09e1
..
df3f9d0
100644
(file)
--- a/
drivers/bluetooth/btmtksdio.c
+++ b/
drivers/bluetooth/btmtksdio.c
@@
-1226,8
+1226,8
@@
static bool btmtksdio_sdio_wakeup(struct hci_dev *hdev)
&bt_awake, HCI_CMD_TIMEOUT);
if (IS_ERR(skb))
may_wakeup = false;
-
- kfree_skb(skb);
+ else
+
kfree_skb(skb);
}
return may_wakeup;