iwlwifi: mvm: Don't request HW restart if already requested
authorIlan Peer <ilan.peer@intel.com>
Sun, 20 Jan 2019 15:45:16 +0000 (17:45 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 20 Feb 2019 18:47:54 +0000 (20:47 +0200)
commit1e78e759bed84cc55e08cc10988287464a49747f
treeb14a2adcf6265991237ff2cdc9898f698f6c624b
parent6cc6ba3a0d9af64bfba573dec385af4302a29700
iwlwifi: mvm: Don't request HW restart if already requested

In case mac80211 was requested to perform an HW restart, but the HW
restart has not started yet, there is no need to request another one.

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