aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945-mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-mac.c')
-rw-r--r--drivers/net/wireless/iwlegacy/3945-mac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c
index c8179756bf3c..54b2d391e91a 100644
--- a/drivers/net/wireless/iwlegacy/3945-mac.c
+++ b/drivers/net/wireless/iwlegacy/3945-mac.c
@@ -2623,12 +2623,12 @@ il3945_request_scan(struct il_priv *il, struct ieee80211_vif *vif)
2623 } 2623 }
2624 2624
2625 /* 2625 /*
2626 * If active scaning is requested but a certain channel 2626 * If active scaning is requested but a certain channel is marked
2627 * is marked passive, we can do active scanning if we 2627 * passive, we can do active scanning if we detect transmissions. For
2628 * detect transmissions. 2628 * passive only scanning disable switching to active on any channel.
2629 */ 2629 */
2630 scan->good_CRC_th = 2630 scan->good_CRC_th =
2631 is_active ? IL_GOOD_CRC_TH_DEFAULT : IL_GOOD_CRC_TH_DISABLED; 2631 is_active ? IL_GOOD_CRC_TH_DEFAULT : IL_GOOD_CRC_TH_NEVER;
2632 2632
2633 len = 2633 len =
2634 il_fill_probe_req(il, (struct ieee80211_mgmt *)scan->data, 2634 il_fill_probe_req(il, (struct ieee80211_mgmt *)scan->data,