iwlwifi: mvm: test roc running status bits before removing the sta
authorNathan Errera <nathan.errera@intel.com>
Sun, 19 Dec 2021 10:18:15 +0000 (12:18 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 21 Dec 2021 10:35:06 +0000 (12:35 +0200)
commit998e1aba6e5eb35370eaf30ccc1823426ec11f90
treed48d731e75413c9cbacd2323a28f448c902f8bc7
parentac9952f6954216be72a8bde210e1ef2c949d8ee0
iwlwifi: mvm: test roc running status bits before removing the sta

In some cases the sta is being removed twice since we do not test the
roc aux running before removing it. Start looking at the bit before
removing the sta.

Signed-off-by: Nathan Errera <nathan.errera@intel.com>
Fixes: 2c2c3647cde4 ("iwlwifi: mvm: support ADD_STA_CMD_API_S ver 12")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211219121514.d5376ac6bcb0.Ic5f8470ea60c072bde9d1503e5f528b65e301e20@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c