diff options
author | Sergio Luis <sergio@larces.uece.br> | 2008-10-27 09:08:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 09:08:48 +0300 |
commit | cbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (patch) | |
tree | 4d7bff8acb0e4030cedd3aef43efe938cdb12368 /drivers/bluetooth | |
parent | c3a90c788b743303c4d824780a3a7271693fb64a (diff) | |
download | linux-cbfd24a75f98fe731547d3bc995f3a1f1fed6b20.tar.xz |
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.c | 2 |
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; } |