projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b53f21
)
iwlwifi: add debug message when a CMD is dropped in RFKILL
author
Emmanuel Grumbach
<
[email protected]
>
Wed, 13 Mar 2013 20:16:20 +0000
(22:16 +0200)
committer
Johannes Berg
<
[email protected]
>
Wed, 20 Mar 2013 13:17:10 +0000
(14:17 +0100)
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
drivers/net/wireless/iwlwifi/pcie/tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/pcie/tx.c
b/drivers/net/wireless/iwlwifi/pcie/tx.c
index 8595c16f74deb8bdcf531725e3c65c0986d58745..b29034d9c96374ca4837e40364ce6729f9999330 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/pcie/tx.c
+++ b/
drivers/net/wireless/iwlwifi/pcie/tx.c
@@
-1566,8
+1566,11
@@
int iwl_trans_pcie_send_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd)
if (test_bit(STATUS_FW_ERROR, &trans_pcie->status))
return -EIO;
- if (test_bit(STATUS_RFKILL, &trans_pcie->status))
+ if (test_bit(STATUS_RFKILL, &trans_pcie->status)) {
+ IWL_DEBUG_RF_KILL(trans, "Dropping CMD 0x%x: RF KILL\n",
+ cmd->id);
return -ERFKILL;
+ }
if (cmd->flags & CMD_ASYNC)
return iwl_pcie_send_hcmd_async(trans, cmd);