iwlwifi: make scan antenna forcing more generic
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Apr 2010 08:04:35 +0000 (01:04 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 16 Apr 2010 20:54:29 +0000 (13:54 -0700)
commite7cb49550eb25f2e551d7d7f3bb71560df83680c
tree3d5f8aa11b4eda97cf72f71e74851c4a34868c01
parentee102603c04d84d3079e3d593d88d5254085efa0
iwlwifi: make scan antenna forcing more generic

Some future hardware will also require some antenna
overrides so make the current logic more generic;
right now it is semantically based on a workaround
for off-channel reception but the reasons for the
new antenna overrides will be different.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
drivers/net/wireless/iwlwifi/iwl-core.h