diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-07-09 04:35:30 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-08-12 19:23:49 +0300 |
commit | 4974c839d45e2ac89ce0e82b49d548cc12e02a9c (patch) | |
tree | 04f7f81870080c014dc87532e542e455f6f7e988 /drivers/bluetooth | |
parent | 8059ba0bd0e4694e51c2ee6438a77b325f06c0d5 (diff) | |
download | linux-4974c839d45e2ac89ce0e82b49d548cc12e02a9c.tar.xz |
Bluetooth: hci_qca: Use kfree_skb() instead of kfree()
Use kfree_skb() instead of kfree() to free sk_buff.
Fixes: 2faa3f15fa2f ("Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/hci_qca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 82a0a3691a63..3c9fd165fda6 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -912,7 +912,7 @@ static int qca_recv_event(struct hci_dev *hdev, struct sk_buff *skb) if (hdr->evt == HCI_EV_VENDOR) complete(&qca->drop_ev_comp); - kfree(skb); + kfree_skb(skb); return 0; } |