]> err.no Git - linux-2.6/commit
iwlwifi: refactor init geos function
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 1 Mar 2008 23:36:04 +0000 (01:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2008 22:09:45 +0000 (17:09 -0500)
commit8211ef78d9023a8772e5acf6b7934598156b2fc8
tree2306bb8216c131adaea6b36f09ff35db9975193d
parent2acae16ee79386c73db10fa8e95c9cd42fbad272
iwlwifi: refactor init geos function

This patch refactors init geos function. It also fixes few minor bugs.
IWL_MAX_RATE -> IWL_RATE_COUNT (IWL_MAX_RATE included also MCS setting)
There are 9 and 13 rates for 4965 in 2.4 and 5.2 respectively  (rate 60)

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-commands.h
drivers/net/wireless/iwlwifi/iwl-3945-rs.h
drivers/net/wireless/iwlwifi/iwl-4965-commands.h
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c