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: Fix log spamming in btusb due to autosuspend
[pandora-kernel.git]
/
drivers
/
bluetooth
/
ath3k.c
diff --git
a/drivers/bluetooth/ath3k.c
b/drivers/bluetooth/ath3k.c
index
add9485
..
128cae4
100644
(file)
--- a/
drivers/bluetooth/ath3k.c
+++ b/
drivers/bluetooth/ath3k.c
@@
-143,6
+143,8
@@
static int ath3k_probe(struct usb_interface *intf,
usb_set_intfdata(intf, data);
if (ath3k_load_firmware(data, data->fw_data, data->fw_size)) {
usb_set_intfdata(intf, NULL);
+ kfree(data->fw_data);
+ kfree(data);
return -EIO;
}