]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Fix ROC removal
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Sun, 15 Feb 2015 16:33:23 +0000 (18:33 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 23 Feb 2015 20:42:37 +0000 (22:42 +0200)
commitec91f8b2e71bf7992ca2ed49f6a177cbc773bc05
tree349e28e034be983418587ce60c843b745b9f5e22
parentdb79bfaf033c29d76d5b44f50944675eb8b59f51
iwlwifi: mvm: Fix ROC removal

iwl_mvm_stop_roc removes TE only if running flag is set. This is not correct
since this flag is only set when the TE is started.
This resulted in a TE not being removed, when mac80211 believes that there are
no active ROCs.

Fixes: 660948950682 ("iwlwifi: mvm: add remove flow for AUX ROC time events")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/time-event.c