]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: disconnect if CSA time event fails scheduling
authorJohannes Berg <johannes.berg@intel.com>
Tue, 10 Mar 2015 09:47:57 +0000 (10:47 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:05:49 +0000 (09:05 +0200)
commit4b98d1706a56ed37088dbf0a1e2252de226e24c8
tree62633540e814ce1f7fe244ca51c93922e12d5132
parent76e3df9d48e252b0b45dafa54a0254bb985becf1
iwlwifi: mvm: disconnect if CSA time event fails scheduling

If this situation ever happens, the mac80211 state machine gets
confused because it never clears csa_active. There was a separate
bug that lead to this happening with a working connection, but it
isn't very robust to try to keep the connection up in this case.

When removing the time event the CSA essentially procedure stops,
so the safest thing to do is to disconnect in this case.

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