summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorSergio Luis <sergio@larces.uece.br>2008-10-26 23:08:48 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-26 23:08:48 -0700
commitcbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (patch)
tree4d7bff8acb0e4030cedd3aef43efe938cdb12368 /drivers/bluetooth
parentc3a90c788b743303c4d824780a3a7271693fb64a (diff)
downloadblackbird-op-linux-cbfd24a75f98fe731547d3bc995f3a1f1fed6b20.tar.gz
blackbird-op-linux-cbfd24a75f98fe731547d3bc995f3a1f1fed6b20.zip
btsdio: free sk_buff with kfree_skb
free sk_buff with kfree_skb, instead of kree Signed-off-by: Sergio Luis <sergio@larces.uece.br> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btsdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c
index 58630cc1eff2..cda6c7cc944b 100644
--- a/drivers/bluetooth/btsdio.c
+++ b/drivers/bluetooth/btsdio.c
@@ -152,7 +152,7 @@ static int btsdio_rx_packet(struct btsdio_data *data)
err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4);
if (err < 0) {
- kfree(skb);
+ kfree_skb(skb);
return err;
}
OpenPOWER on IntegriCloud