diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-10-06 04:05:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-06 18:14:57 -0400 |
commit | d588be6bae40f7965f1b681a4dbc3254411787b9 (patch) | |
tree | 808af28583b94fadbdaf6517b77c544927521c38 /drivers/net | |
parent | cccf129f820e431d84690729254a32f1709328fb (diff) |
iwlwifi: scan correct setting of valid rx_chains
This patch sets rx_chain bitmap correctly according hw configuration.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-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 bf855c35b0c..debdbd94dda 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -703,7 +703,7 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
703 | u16 cmd_len; | 703 | u16 cmd_len; |
704 | enum ieee80211_band band; | 704 | enum ieee80211_band band; |
705 | u8 n_probes = 2; | 705 | u8 n_probes = 2; |
706 | u8 rx_chain = 0x7; /* bitmap: ABC chains */ | 706 | u8 rx_chain = priv->hw_params.valid_rx_ant; |
707 | 707 | ||
708 | conf = ieee80211_get_hw_conf(priv->hw); | 708 | conf = ieee80211_get_hw_conf(priv->hw); |
709 | 709 | ||