]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/bluetooth/hci_ath.c
Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c
[net-next-2.6.git] / drivers / bluetooth / hci_ath.c
index b941dd5dc9818e722b8ccb2bfca40c6f967dd00d..6a160c17ea943426b459e5a9ec8ad9000b5b5b8e 100644 (file)
@@ -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;
        }