linux/net/nfc/nci
Bongsu Jeon f011539e72 net: nfc: nci: Change the NCI close sequence
If there is a NCI command in work queue after closing the NCI device at
nci_unregister_device, The NCI command timer starts at flush_workqueue
function and then NCI command timeout handler would be called 5 second
after flushing the NCI command work queue and destroying the queue.
At that time, the timeout handler would try to use NCI command work queue
that is destroyed already. it will causes the problem. To avoid this
abnormal situation, change the sequence to prevent the NCI command timeout
handler from being called after destroying the NCI command work queue.

Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-01-05 16:06:34 -08:00
..
core.c net: nfc: nci: Change the NCI close sequence 2021-01-05 16:06:34 -08:00
data.c nfc: fix potential illegal memory access 2019-07-08 12:46:24 -07:00
hci.c nfc: refined function nci_hci_resp_received 2020-11-14 16:53:16 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ntf.c net/nfc/nci: Support NCI 2.x initial sequence 2020-12-04 17:47:35 -08:00
rsp.c net/nfc/nci: Support NCI 2.x initial sequence 2020-12-04 17:47:35 -08:00
spi.c NFC: NCI: use new delay structure for SPI transfer delays 2019-12-04 17:00:58 -08:00
uart.c net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive() 2019-12-18 11:57:33 -08:00