mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
iwlwifi: scan correct setting of valid rx_chains
commit d588be6bae
upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3b94c1ecbd
commit
742dfb34af
@ -704,7 +704,7 @@ static void iwl_bg_request_scan(struct work_struct *data)
|
||||
u16 cmd_len;
|
||||
enum ieee80211_band band;
|
||||
u8 n_probes = 2;
|
||||
u8 rx_chain = 0x7; /* bitmap: ABC chains */
|
||||
u8 rx_chain = priv->hw_params.valid_rx_ant;
|
||||
|
||||
conf = ieee80211_get_hw_conf(priv->hw);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user