aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorJay Sternberg <jay.e.sternberg@intel.com>2009-10-23 16:42:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:49:58 -0400
commit1a5c3d61993f56daf15c35bea8d3943f4e835638 (patch)
tree934fd4a7b547196d5a7d6a872a14ab9b21420863 /drivers/net/wireless/iwlwifi
parentfef0640e1e5d5f79c48d1de1f54ed285429b4a6c (diff)
iwlwifi: add missing commands to syslog messages
Two commands missing from list of commands such that when debug is enabled, these commands are shown as UNKNOWN. Missing commands are TX_ANT_CONFIGURATION_CMD and TEMPERATURE_NOTIFICATION. Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-hcmd.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 7d4f131708f3..1a7c0d02c19c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -114,6 +114,7 @@ enum {
114 COEX_EVENT_CMD = 0x5c, 114 COEX_EVENT_CMD = 0x5c,
115 115
116 /* Calibration */ 116 /* Calibration */
117 TEMPERATURE_NOTIFICATION = 0x62,
117 CALIBRATION_CFG_CMD = 0x65, 118 CALIBRATION_CFG_CMD = 0x65,
118 CALIBRATION_RES_NOTIFICATION = 0x66, 119 CALIBRATION_RES_NOTIFICATION = 0x66,
119 CALIBRATION_COMPLETE_NOTIFICATION = 0x67, 120 CALIBRATION_COMPLETE_NOTIFICATION = 0x67,
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
index 22a21a1c7f49..f2a60dc4109f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c
+++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
@@ -92,6 +92,8 @@ const char *get_cmd_string(u8 cmd)
92 IWL_CMD(CALIBRATION_RES_NOTIFICATION); 92 IWL_CMD(CALIBRATION_RES_NOTIFICATION);
93 IWL_CMD(CALIBRATION_COMPLETE_NOTIFICATION); 93 IWL_CMD(CALIBRATION_COMPLETE_NOTIFICATION);
94 IWL_CMD(REPLY_TX_POWER_DBM_CMD); 94 IWL_CMD(REPLY_TX_POWER_DBM_CMD);
95 IWL_CMD(TEMPERATURE_NOTIFICATION);
96 IWL_CMD(TX_ANT_CONFIGURATION_CMD);
95 default: 97 default:
96 return "UNKNOWN"; 98 return "UNKNOWN";
97 99