diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 1ff465ad40d8..faa4c4e2d43c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2228,7 +2228,7 @@ struct iwl_cfg iwl4965_agn_cfg = { | |||
2228 | .num_of_ampdu_queues = IWL49_NUM_AMPDU_QUEUES, | 2228 | .num_of_ampdu_queues = IWL49_NUM_AMPDU_QUEUES, |
2229 | .mod_params = &iwl4965_mod_params, | 2229 | .mod_params = &iwl4965_mod_params, |
2230 | .valid_tx_ant = ANT_AB, | 2230 | .valid_tx_ant = ANT_AB, |
2231 | .valid_rx_ant = ANT_AB, | 2231 | .valid_rx_ant = ANT_ABC, |
2232 | .pll_cfg_val = 0, | 2232 | .pll_cfg_val = 0, |
2233 | .set_l0s = true, | 2233 | .set_l0s = true, |
2234 | .use_bsm = true, | 2234 | .use_bsm = true, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 48bc2636a8ef..a2b2b8315ff9 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) | |||
749 | rx_ant = first_antenna(active_chains); | 749 | rx_ant = first_antenna(active_chains); |
750 | } | 750 | } |
751 | /* MIMO is not used here, but value is required */ | 751 | /* MIMO is not used here, but value is required */ |
752 | rx_chain |= ANT_ABC << RXON_RX_CHAIN_VALID_POS; | 752 | rx_chain |= priv->hw_params.valid_rx_ant << RXON_RX_CHAIN_VALID_POS; |
753 | rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_MIMO_SEL_POS; | 753 | rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_MIMO_SEL_POS; |
754 | rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_SEL_POS; | 754 | rx_chain |= rx_ant << RXON_RX_CHAIN_FORCE_SEL_POS; |
755 | rx_chain |= 0x1 << RXON_RX_CHAIN_DRIVER_FORCE_POS; | 755 | rx_chain |= 0x1 << RXON_RX_CHAIN_DRIVER_FORCE_POS; |