diff options
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btsdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c index cda6c7cc944b..f2ada0c65486 100644 --- 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) | |||
91 | 91 | ||
92 | err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); | 92 | err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); |
93 | if (err < 0) { | 93 | if (err < 0) { |
94 | skb_pull(skb, 4); | ||
94 | sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); | 95 | sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); |
95 | return err; | 96 | return err; |
96 | } | 97 | } |