]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: Don't warn on command failure during restart
authorIlan Peer <ilan.peer@intel.com>
Thu, 10 Jan 2019 16:07:23 +0000 (18:07 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 14 Feb 2019 09:29:51 +0000 (11:29 +0200)
commit69e508b44d5c84cf48cea41344cf9a0584484e31
tree90861116b859b8d5ed938c4899ae68aa11fbdec0
parent21587a9b0a48bf8922e875b54edcc5a8a9a8b19f
iwlwifi: mvm: Don't warn on command failure during restart

When HW restart is requested but not started yet, commands would not
be sent to the FW, and some function calls return an error. Such cases
can trigger unneeded warning messages, e.g., in iwl_mvm_mac_sta_state()
and iwl_mvm_bss_info_changed_station().

Handle a couple of these cases by also checking in the WARN_ON()
condition that HW restart is not requested.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c