summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-06-07 09:00:11 -0700
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-06-24 21:55:29 +0300
commitd536c32b45d2f86c9e9e7780bd94d28d1d7c4660 (patch)
treed127af50f41146179a530216da5074b83251f45d /drivers/net/wireless/iwlwifi
parent9ee6dace73029fc88767f33b13d52b60d5861f21 (diff)
downloadblackbird-op-linux-d536c32b45d2f86c9e9e7780bd94d28d1d7c4660.tar.gz
blackbird-op-linux-d536c32b45d2f86c9e9e7780bd94d28d1d7c4660.zip
iwlwifi: pcie: log when waking the NIC for hcmd submission fails
I've never seen this happen, but it's useful to rule it out. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/tx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/tx.c b/drivers/net/wireless/iwlwifi/pcie/tx.c
index 038940afbdc5..6acccb19c4f3 100644
--- a/drivers/net/wireless/iwlwifi/pcie/tx.c
+++ b/drivers/net/wireless/iwlwifi/pcie/tx.c
@@ -1438,6 +1438,7 @@ static int iwl_pcie_enqueue_hcmd(struct iwl_trans *trans,
CSR_GP_CNTRL_REG_FLAG_MAC_ACCESS_REQ);
spin_unlock_irqrestore(&trans_pcie->reg_lock, flags);
trans_pcie->cmd_in_flight = false;
+ IWL_ERR(trans, "Failed to wake NIC for hcmd\n");
idx = -EIO;
goto out;
}
OpenPOWER on IntegriCloud