iwlwifi: set hw parameters based on device type
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 20 Apr 2010 01:49:40 +0000 (18:49 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 30 Apr 2010 22:34:32 +0000 (15:34 -0700)
commite517736ab85fcaa4ceebbb572f3e86838097ad0a
tree399971d6ea5e1707bfd64ee17559b8a00f795065
parente3a3cd8789e1daf1b5af70d3252cab50cd3824c9
iwlwifi: set hw parameters based on device type

Separate the hw_set_hw_params() function to per device based; different
devices can have different hardware parameters set, when separate the
function based on device type can avoid mistakes, give more flexibilities and
easier to read.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-6000.c