]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: cleanup roc te on restart cleanup
authorEliad Peller <eliad@wizery.com>
Wed, 9 Dec 2015 14:33:20 +0000 (16:33 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 06:52:51 +0000 (08:52 +0200)
commit30d7a794e41551edce8b5cf65a0069089c7df535
treeac7d0a9c2a85ba83e4cea2183b78bd9ce1ae1ba0
parent254c9501d48c1af368d76dc4bcea29020d38bfc2
iwlwifi: mvm: cleanup roc te on restart cleanup

iwl_mvm_restart_cleanup() calls ieee80211_remain_on_channel_expired()
on cleanup, but it doesn't clean the actual roc time
events, resulting in failure of further ROC attempts.

Refactor iwl_mvm_stop_roc() a bit, and add a new function
to only cleanup the roc time events (without sending further
commands).

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.h