diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index c2ed7c17ea1f..7b9475b7f0f4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -792,8 +792,9 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
792 | case 2: | 792 | case 2: |
793 | scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; | 793 | scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; |
794 | scan->tx_cmd.rate_n_flags = | 794 | scan->tx_cmd.rate_n_flags = |
795 | iwl4965_hw_set_rate_n_flags(IWL_RATE_1M_PLCP, | 795 | iwl_hw_set_rate_n_flags(IWL_RATE_1M_PLCP, |
796 | RATE_MCS_ANT_B_MSK|RATE_MCS_CCK_MSK); | 796 | RATE_MCS_ANT_B_MSK| |
797 | RATE_MCS_CCK_MSK); | ||
797 | 798 | ||
798 | scan->good_CRC_th = 0; | 799 | scan->good_CRC_th = 0; |
799 | band = IEEE80211_BAND_2GHZ; | 800 | band = IEEE80211_BAND_2GHZ; |
@@ -801,8 +802,8 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
801 | 802 | ||
802 | case 1: | 803 | case 1: |
803 | scan->tx_cmd.rate_n_flags = | 804 | scan->tx_cmd.rate_n_flags = |
804 | iwl4965_hw_set_rate_n_flags(IWL_RATE_6M_PLCP, | 805 | iwl_hw_set_rate_n_flags(IWL_RATE_6M_PLCP, |
805 | RATE_MCS_ANT_B_MSK); | 806 | RATE_MCS_ANT_B_MSK); |
806 | scan->good_CRC_th = IWL_GOOD_CRC_TH; | 807 | scan->good_CRC_th = IWL_GOOD_CRC_TH; |
807 | band = IEEE80211_BAND_5GHZ; | 808 | band = IEEE80211_BAND_5GHZ; |
808 | break; | 809 | break; |