summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-07-23 12:11:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-27 15:27:45 -0700
commit4ebaa4edf8799cab19d5a0642dc95f04fd284e06 (patch)
tree62ce437937bf2331b195786d26887c7fb67119b8 /drivers/bluetooth
parent2f8362afcd2da8b313ec3cc04a50af19d3592972 (diff)
downloadlinux-3.10-4ebaa4edf8799cab19d5a0642dc95f04fd284e06.tar.gz
linux-3.10-4ebaa4edf8799cab19d5a0642dc95f04fd284e06.tar.bz2
linux-3.10-4ebaa4edf8799cab19d5a0642dc95f04fd284e06.zip
Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c
sk_buffs have to be freed with kfree_skb() instead of kfree(). Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c
index b941dd5dc98..6a160c17ea9 100644
--- a/drivers/bluetooth/hci_ath.c
+++ b/drivers/bluetooth/hci_ath.c
@@ -163,7 +163,7 @@ static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb)
struct ath_struct *ath = hu->priv;
if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) {
- kfree(skb);
+ kfree_skb(skb);
return 0;
}