diff options
-rw-r--r-- | net/nfc/nci/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c index f0e955e3a385..0a2ee83c3bd3 100644 --- a/net/nfc/nci/core.c +++ b/net/nfc/nci/core.c | |||
@@ -361,6 +361,8 @@ static int nci_close_device(struct nci_dev *ndev) | |||
361 | msecs_to_jiffies(NCI_RESET_TIMEOUT)); | 361 | msecs_to_jiffies(NCI_RESET_TIMEOUT)); |
362 | clear_bit(NCI_INIT, &ndev->flags); | 362 | clear_bit(NCI_INIT, &ndev->flags); |
363 | 363 | ||
364 | del_timer_sync(&ndev->cmd_timer); | ||
365 | |||
364 | /* Flush cmd wq */ | 366 | /* Flush cmd wq */ |
365 | flush_workqueue(ndev->cmd_wq); | 367 | flush_workqueue(ndev->cmd_wq); |
366 | 368 | ||