diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-11-23 22:33:27 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:40 -0500 |
commit | 902b6667d3d17ac53ec62c036cd2bcf713c29d86 (patch) | |
tree | 95f6d93fc8b0b3f9f021aadc493db27aa3ca0948 /drivers/net/wireless/iwmc3200wifi/main.c | |
parent | f6cd53c6a4204a3d4a274546449a70a766a99b6e (diff) |
iwmc3200wifi: Parse HT channels EEPROM entries
The fat channels eeprom entries let us know if 11n is enabled or not. We
update our wiphy supported bands based on that.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/main.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c index 75f105a59543..365f3fc37d25 100644 --- a/drivers/net/wireless/iwmc3200wifi/main.c +++ b/drivers/net/wireless/iwmc3200wifi/main.c | |||
@@ -691,6 +691,12 @@ static int __iwm_up(struct iwm_priv *iwm) | |||
691 | goto err_disable; | 691 | goto err_disable; |
692 | } | 692 | } |
693 | 693 | ||
694 | ret = iwm_eeprom_fat_channels(iwm); | ||
695 | if (ret) { | ||
696 | IWM_ERR(iwm, "Couldnt read HT channels EEPROM entries\n"); | ||
697 | goto err_fw; | ||
698 | } | ||
699 | |||
694 | snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "L%s_U%s", | 700 | snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "L%s_U%s", |
695 | iwm->lmac_version, iwm->umac_version); | 701 | iwm->lmac_version, iwm->umac_version); |
696 | 702 | ||