diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-hcmd.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-hcmd.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c index 2eb03eea1908..8300f3d00a06 100644 --- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c +++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c | |||
@@ -120,8 +120,18 @@ static int iwl_generic_cmd_callback(struct iwl_priv *priv, | |||
120 | return 1; | 120 | return 1; |
121 | } | 121 | } |
122 | 122 | ||
123 | IWL_DEBUG_HC("back from %s (0x%08X)\n", | 123 | #ifdef CONFIG_IWLWIFI_DEBUG |
124 | get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags); | 124 | switch (cmd->hdr.cmd) { |
125 | case REPLY_TX_LINK_QUALITY_CMD: | ||
126 | case SENSITIVITY_CMD: | ||
127 | IWL_DEBUG_HC_DUMP("back from %s (0x%08X)\n", | ||
128 | get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags); | ||
129 | break; | ||
130 | default: | ||
131 | IWL_DEBUG_HC("back from %s (0x%08X)\n", | ||
132 | get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags); | ||
133 | } | ||
134 | #endif | ||
125 | 135 | ||
126 | /* Let iwl_tx_complete free the response skb */ | 136 | /* Let iwl_tx_complete free the response skb */ |
127 | return 1; | 137 | return 1; |