iwlwifi: add missing commands to syslog messages
authorJay Sternberg <jay.e.sternberg@intel.com>
Fri, 23 Oct 2009 20:42:19 +0000 (13:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:49:58 +0000 (16:49 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-hcmd.c

index 7d4f131708f34cdca739e22295b149297a7b5e6f..1a7c0d02c19cca2e76e6fa069cc6cc2fb70676cd 100644 (file)
@@ -114,6 +114,7 @@ enum {
        COEX_EVENT_CMD = 0x5c,
 
        /* Calibration */
+       TEMPERATURE_NOTIFICATION = 0x62,
        CALIBRATION_CFG_CMD = 0x65,
        CALIBRATION_RES_NOTIFICATION = 0x66,
        CALIBRATION_COMPLETE_NOTIFICATION = 0x67,
index 22a21a1c7f491b05a5c8f17db102feb6a787b2d9..f2a60dc4109f76b2e6e1245a0bf3003f821106ba 100644 (file)
@@ -92,6 +92,8 @@ const char *get_cmd_string(u8 cmd)
                IWL_CMD(CALIBRATION_RES_NOTIFICATION);
                IWL_CMD(CALIBRATION_COMPLETE_NOTIFICATION);
                IWL_CMD(REPLY_TX_POWER_DBM_CMD);
+               IWL_CMD(TEMPERATURE_NOTIFICATION);
+               IWL_CMD(TX_ANT_CONFIGURATION_CMD);
        default:
                return "UNKNOWN";