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>
This commit is contained in:
Sergio Luis 2008-10-26 23:08:48 -07:00 committed by David S. Miller
parent c3a90c788b
commit cbfd24a75f

View File

@ -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;
}