Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfc: nci: add missed destroy_workqueue in nci_register_device
When nfc_register_device fails in nci_register_device, destroy_workqueue() shouled be called to destroy ndev->tx_wq. Fixes: 3c1c0f5 ("NFC: NCI: Fix nci_register_device init sequence") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information