diff options
Diffstat (limited to 'drivers/bluetooth/bfusb.c')
-rw-r--r-- | drivers/bluetooth/bfusb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index d3f14bee0f19..2a00707aba3b 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
@@ -257,8 +257,7 @@ static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned ch | |||
257 | 257 | ||
258 | if (hdr & 0x10) { | 258 | if (hdr & 0x10) { |
259 | BT_ERR("%s error in block", data->hdev->name); | 259 | BT_ERR("%s error in block", data->hdev->name); |
260 | if (data->reassembly) | 260 | kfree_skb(data->reassembly); |
261 | kfree_skb(data->reassembly); | ||
262 | data->reassembly = NULL; | 261 | data->reassembly = NULL; |
263 | return -EIO; | 262 | return -EIO; |
264 | } | 263 | } |