git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Fix TX error path in btsdio driver
[safe/jmp/linux-2.6]
/
drivers
/
bluetooth
/
btsdio.c
diff --git
a/drivers/bluetooth/btsdio.c
b/drivers/bluetooth/btsdio.c
index
cda6c7c
..
f2ada0c
100644
(file)
--- a/
drivers/bluetooth/btsdio.c
+++ b/
drivers/bluetooth/btsdio.c
@@
-91,6
+91,7
@@
static int btsdio_tx_packet(struct btsdio_data *data, struct sk_buff *skb)
err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len);
if (err < 0) {
+ skb_pull(skb, 4);
sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL);
return err;
}