diff options
author | Dan Carpenter <error27@gmail.com> | 2010-07-23 06:11:04 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-27 18:27:45 -0400 |
commit | 4ebaa4edf8799cab19d5a0642dc95f04fd284e06 (patch) | |
tree | 62ce437937bf2331b195786d26887c7fb67119b8 /drivers/bluetooth | |
parent | 2f8362afcd2da8b313ec3cc04a50af19d3592972 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c index b941dd5dc981..6a160c17ea94 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) | |||
163 | struct ath_struct *ath = hu->priv; | 163 | struct ath_struct *ath = hu->priv; |
164 | 164 | ||
165 | if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) { | 165 | if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) { |
166 | kfree(skb); | 166 | kfree_skb(skb); |
167 | return 0; | 167 | return 0; |
168 | } | 168 | } |
169 | 169 | ||