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 <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
This commit is contained in:
Andy Lutomirski authored and Emmanuel Grumbach committed 2014-06-24 21:55:29 +03:00
1 parent 9ee6dace73
commit d536c32b45
1 file changed
+1
+1
View File
@@ -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;
}