iwlwifi: mvm: clear csa countdown when AP is stopped
authorAvraham Stern <avraham.stern@intel.com>
Mon, 31 Aug 2015 08:08:27 +0000 (11:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 10:56:35 +0000 (13:56 +0300)
commite9cb0327b26dd7ba43a3b7a05b4b62219decf42d
treec69b7dfab0545b64943ee8c62e975847c995f693
parent2cf5eb3ab7bb7f2e3a70edcef236cd62c87db030
iwlwifi: mvm: clear csa countdown when AP is stopped

The csa_countdown flag was not cleared when the AP is stopped.
As a result, if the AP was stopped after csa_countdown had started,
all the folowing channel switch commands would fail.
Fix that by clearing the csa_countdown flag when the AP is stopped.

Cc: <stable@vger.kernel.org> [3.17+]
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c