iwlwifi: fix incorrect otp blocks number for 6x50 series
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Oct 2009 21:25:52 +0000 (14:25 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:31 +0000 (16:48 -0400)
For 6x50 series, number of OTP blocks is different from 6x00 series

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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-6000.c

index e74dad3280cca91a3918a33eab72c9cb4ec8a5e6..887e4e3674cf8aaac4feaca425c5e8cd8bb62470 100644 (file)
@@ -408,7 +408,7 @@ struct iwl_cfg iwl6050_2agn_cfg = {
        .valid_rx_ant = ANT_AB,
        .need_pll_cfg = false,
        .pa_type = IWL_PA_SYSTEM,
-       .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
+       .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
        .shadow_ram_support = true,
        .ht_greenfield_support = true,
        .led_compensation = 51,
@@ -434,7 +434,7 @@ struct iwl_cfg iwl6050_2abg_cfg = {
        .valid_rx_ant = ANT_AB,
        .need_pll_cfg = false,
        .pa_type = IWL_PA_SYSTEM,
-       .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
+       .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
        .shadow_ram_support = true,
        .ht_greenfield_support = true,
        .led_compensation = 51,
@@ -485,7 +485,7 @@ struct iwl_cfg iwl6050_3agn_cfg = {
        .valid_rx_ant = ANT_ABC,
        .need_pll_cfg = false,
        .pa_type = IWL_PA_SYSTEM,
-       .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
+       .max_ll_items = OTP_MAX_LL_ITEMS_6x50,
        .shadow_ram_support = true,
        .ht_greenfield_support = true,
        .led_compensation = 51,