linux/net/nfc
Amitkumar Karwar fa9be5f009 NFC: NCI: Cancel cmd_timer in nci_close_device()
nci_close_device() sends nci reset command to the device.
If there is no response for this command, nci request timeout
occurs first and then cmd timeout happens. Because command
timer has started after sending the command.

We are immediately flushing command workqueue after nci
timeout. Later we will try to schedule cmd_work in command
timer which leads to a crash.

Cancel cmd_timer before flushing the workqueue to fix the
problem.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-01-05 23:20:15 +01:00
..
hci NFC: Return driver failure upon unknown event reception 2014-01-04 03:32:27 +01:00
nci NFC: NCI: Cancel cmd_timer in nci_close_device() 2014-01-05 23:20:15 +01:00
af_nfc.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
core.c NFC: Only warn on SE discovery error 2014-01-04 03:32:27 +01:00
digital_core.c NFC: digital: Add newline to pr_* calls 2013-09-25 02:02:34 +02:00
digital_dep.c NFC: digital: Use NFC_NFCID3_MAXSIZE from nfc.h 2014-01-04 03:35:34 +01:00
digital_technology.c NFC: digital: Fix sens_res endiannes handling 2013-09-25 02:02:42 +02:00
digital.h NFC: digital: Remove PR_ERR and PR_DBG macros 2013-09-25 02:02:32 +02:00
Kconfig NFC Digital: Add NFC-F technology support 2013-09-25 02:02:25 +02:00
llcp_commands.c NFC: llcp: Use default MIU if none was specified on connect 2014-01-04 03:32:27 +01:00
llcp_core.c NFC: llcp: Use default MIU if none was specified on connect 2014-01-04 03:32:27 +01:00
llcp_sock.c NFC: llcp: Use default MIU if none was specified on connect 2014-01-04 03:32:27 +01:00
llcp.h nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
Makefile NFC Digital: Add initiator NFC-DEP support 2013-09-25 02:02:27 +02:00
netlink.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
nfc.h nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
rawsock.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00