iwlwifi: mvm: continue (with error) CSA on GO time event failure
authorJohannes Berg <johannes.berg@intel.com>
Tue, 10 Mar 2015 13:44:00 +0000 (14:44 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 18 Mar 2015 06:40:02 +0000 (08:40 +0200)
commit81d62d5a9c4df3f4f7b0c5f5e1158f3fc4802fda
tree810735d584c51c570e2ff4061873f167f575c766
parent208d271a3f5388672b3d7ec141e975abd84ab3da
iwlwifi: mvm: continue (with error) CSA on GO time event failure

If, on a GO, the CSA time event fails to be scheduled, continue the
flow towards mac80211's state machine so it doesn't get stuck, but
report an error later on the post switch which will cause mac80211
to tear down the operation. This ensures nothing gets stuck due to
the scheduling failure.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/time-event.c