Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d588be6b authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville
Browse files

iwlwifi: scan correct setting of valid rx_chains



This patch sets rx_chain bitmap correctly according hw configuration.

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cccf129f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -703,7 +703,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);