OSDN Git Service

iwlwifi: mvm: don't send BAID removal to the FW during hw_restart
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 5 Feb 2022 09:21:33 +0000 (11:21 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:54 +0000 (10:40 +0200)
commit3538c809d6126fbf9e126d37af67003205eee1bd
treed7b5455fc7ee81f374da1266ea833f4888c1e746
parent91ca9c3ade1be665f5ce88594ee687c56b0357d5
iwlwifi: mvm: don't send BAID removal to the FW during hw_restart

With the new ML API, we can't send the BAID removal command to
firmware during hw_restart because it will cause an assertion failure
0x350D because the BAID doesn't exist at that point.

So avoid sending the command if we are performing a hw_restart.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220205112029.7b363457e1aa.Ie4634222e6a33451b88e1042c83e9ea28775bd9f@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c