diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2009-11-06 14:52:48 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 15:23:42 -0500 |
commit | b23aa883678aec0f5d9e96c9b3e416ec4fdf735e (patch) | |
tree | f58efaa1e39c7ac64f2672e104a817d958feafed /drivers/net/wireless/iwlwifi/iwl-scan.c | |
parent | f1e3d7d428616c04ef71bee3c2b6f274b8947755 (diff) | |
download | kernel_samsung_smdk4412-b23aa883678aec0f5d9e96c9b3e416ec4fdf735e.zip kernel_samsung_smdk4412-b23aa883678aec0f5d9e96c9b3e416ec4fdf735e.tar.gz kernel_samsung_smdk4412-b23aa883678aec0f5d9e96c9b3e416ec4fdf735e.tar.bz2 |
iwlwifi: use configured valid rx chain for scan
Use configured valid rx chains in scan command instead of ANT_ABC, correcting
valid rx chain configuration of 4965, should be ANT_ABC instead of ANT_AB.
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 48bc263..a2b2b83 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c @@ -749,7 +749,7 @@ static void iwl_bg_request_scan(struct work_struct *data) rx_ant = first_antenna(active_chains); } /* MIMO is not used here, but value is required */ - rx_chain |= ANT_ABC << RXON_RX_CHAIN_VALID_POS; + rx_chain |= priv->hw_params.valid_rx_ant << RXON_RX_CHAIN_VALID_POS; rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_MIMO_SEL_POS; rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_SEL_POS; rx_chain |= 0x1 << RXON_RX_CHAIN_DRIVER_FORCE_POS; |