]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: ROC: cleanup time event info on FW failure
authorMatti Gottlieb <matti.gottlieb@intel.com>
Wed, 9 Mar 2016 12:46:28 +0000 (14:46 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 9 Mar 2016 18:59:18 +0000 (20:59 +0200)
commit7f7df9d5bcd278abb3eab37b0483323ab780d6e0
treeaf642ae70838ddf8e469f13a93161a6d84d05353
parent5c55db0708b305bb70a1e9652e14a457b6a6da08
iwlwifi: mvm: ROC: cleanup time event info on FW failure

Currently when the FW sends start/stop aux roc time event
notification with an error status, the driver returns an
error value, but does not remove the time event, and does
not notify the stack above that the time event is over.

This causes problems that the stack above assumes we are still
in the middle of a time event, and therefore can block different
events, such as scanning.

On FW failure notification, cleanup the time event parameters and
notify the stack above that the time event is over.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c