aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btsdio.c
diff options
context:
space:
mode:
authorSergio Luis <sergio@larces.uece.br>2008-10-27 02:08:48 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-27 02:08:48 -0400
commitcbfd24a75f98fe731547d3bc995f3a1f1fed6b20 (patch)
tree4d7bff8acb0e4030cedd3aef43efe938cdb12368 /drivers/bluetooth/btsdio.c
parentc3a90c788b743303c4d824780a3a7271693fb64a (diff)
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/btsdio.c')
-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)
152 152
153 err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4); 153 err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4);
154 if (err < 0) { 154 if (err < 0) {
155 kfree(skb); 155 kfree_skb(skb);
156 return err; 156 return err;
157 } 157 }
158 158