aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-03-19 11:54:49 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-03-25 11:22:32 -0700
commitd28667f871991e0eea983b398421b8db2c8bdf8c (patch)
treebaeb7ca506966102456cfb3363a07bf377910173 /drivers/net/wireless/iwlwifi/iwl-4965.c
parent6e8cc38d5b05bb812f89a35bd9bf52405e67d0df (diff)
downloadkernel_goldelico_gta04-d28667f871991e0eea983b398421b8db2c8bdf8c.zip
kernel_goldelico_gta04-d28667f871991e0eea983b398421b8db2c8bdf8c.tar.gz
kernel_goldelico_gta04-d28667f871991e0eea983b398421b8db2c8bdf8c.tar.bz2
iwlwifi: avoid device type checking in generic code
Avoid checking for specified device type to perform certain function, switch to .cfg approach as more generic and better implementation method. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 1b5ced5..1808c97 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2259,6 +2259,7 @@ struct iwl_cfg iwl4965_agn_cfg = {
.plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
.monitor_recover_period = IWL_MONITORING_PERIOD,
.temperature_kelvin = true,
+ .off_channel_workaround = true,
};
/* Module firmware */