Skip to content

Commit

Permalink
iwlwifi: scan correct setting of valid rx_chains
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Oct 6, 2008
1 parent cccf129 commit d588be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d588be6

Please sign in to comment.