summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
diff options
context:
space:
mode:
authorIlan Peer2019-01-14 14:57:44 +0100
committerLuca Coelho2019-02-14 10:29:51 +0100
commit44135b7c53d4d7199de3e1cf6e850996325f4da1 (patch)
treeeabaf2c1e3ab25b108cbb71c341a84ab622e9647 /drivers/net/wireless/intel/iwlwifi/mvm/fw.c
parentiwlwifi: mvm: Don't warn on command failure during restart (diff)
downloadkernel-qcow2-linux-44135b7c53d4d7199de3e1cf6e850996325f4da1.tar.gz
kernel-qcow2-linux-44135b7c53d4d7199de3e1cf6e850996325f4da1.tar.xz
kernel-qcow2-linux-44135b7c53d4d7199de3e1cf6e850996325f4da1.zip
iwlwifi: mvm: Do not return an error value on HW restart
When HW restart is requested but not started yet, commands would not be sent to the FW, and some function calls would return an error. In case of iwl_mvm_mac_sta_state() returning an error value when a station is removed can lead to an unneeded warning in __sta_info_destroy_part2(). Handle this by setting the return value to 0, in case HW restart is in progress. Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/fw.c')
0 files changed, 0 insertions, 0 deletions