iwlwifi: small define change
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 19 Apr 2012 16:49:03 +0000 (09:49 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 May 2012 00:56:08 +0000 (20:56 -0400)
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-commands.h

index 5e02b4fcac0fa58e4143b0cf9a65ef648bf89140..15e9bfb5285674f35b8b425ea9b53b8015e043ec 100644 (file)
@@ -1903,6 +1903,8 @@ struct iwl_bt_cmd {
                                        IWLAGN_BT_VALID_REDUCED_TX_PWR | \
                                        IWLAGN_BT_VALID_3W_LUT)
 
+#define IWLAGN_BT_DECISION_LUT_SIZE    12
+
 struct iwl_basic_bt_cmd {
        u8 flags;
        u8 ledtime; /* unused */
@@ -1913,7 +1915,7 @@ struct iwl_basic_bt_cmd {
        u8 bt3_prio_sample_time;
        u8 bt3_timer_t2_value;
        __le16 bt4_reaction_time; /* unused */
-       __le32 bt3_lookup_table[12];
+       __le32 bt3_lookup_table[IWLAGN_BT_DECISION_LUT_SIZE];
        __le16 bt4_decision_time; /* unused */
        __le16 valid;
 };