]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Don't sleep in RX path
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 10 Apr 2019 12:31:28 +0000 (15:31 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Apr 2019 15:42:46 +0000 (18:42 +0300)
commite121aad6a9232f134981f905b77a680d164d3bb6
tree182e4cdeffaf0c460d2b8435425939da25cfb123
parent4d83dccf298299758aa0bf515b6482aae9eba051
iwlwifi: mvm: Don't sleep in RX path

Don't use cancel_delayed_work_sync() inside the channel switch
notifications as they are handled synchronously as part of the RX path.
Fix that by replacing it with cancel_delayed_work(). This should be safe
as we don't really care whether the work is already started and in such
case we would disconnect anyway.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c