summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-trans.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2013-12-04 19:08:47 +0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-17 21:39:51 +0400
commitefbf6e3ba2ad2e0f7965ff78779ea4eea7b871e8 (patch)
treecd07defbd6797b5712026bc61db1ca3a0506ea98 /drivers/net/wireless/iwlwifi/iwl-trans.h
parent2a988e98085a76c1a238442e67e53874944cb353 (diff)
downloadlinux-efbf6e3ba2ad2e0f7965ff78779ea4eea7b871e8.tar.xz
iwlwifi: trans: clear FW_ERROR status in common code
Clear the FW_ERROR status before the common start_fw transport code. Remove the transport specific clears. After these patches the FW_ERROR flag is only set and cleared by common transport code. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h
index fa495bafa4e2..8aaabdb1e4a7 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/iwlwifi/iwl-trans.h
@@ -590,6 +590,7 @@ static inline int iwl_trans_start_fw(struct iwl_trans *trans,
WARN_ON_ONCE(!trans->rx_mpdu_cmd);
+ clear_bit(STATUS_FW_ERROR, &trans->status);
return trans->ops->start_fw(trans, fw, run_in_rfkill);
}