diff options
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
-rw-r--r-- | drivers/bluetooth/hci_h5.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 981d96cc7695..78d635f1d156 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c | |||
@@ -245,6 +245,9 @@ static int h5_close(struct hci_uart *hu) | |||
245 | skb_queue_purge(&h5->rel); | 245 | skb_queue_purge(&h5->rel); |
246 | skb_queue_purge(&h5->unrel); | 246 | skb_queue_purge(&h5->unrel); |
247 | 247 | ||
248 | kfree_skb(h5->rx_skb); | ||
249 | h5->rx_skb = NULL; | ||
250 | |||
248 | if (h5->vnd && h5->vnd->close) | 251 | if (h5->vnd && h5->vnd->close) |
249 | h5->vnd->close(h5); | 252 | h5->vnd->close(h5); |
250 | 253 | ||