mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
iwlwifi: fix hidden ssid discovery in passive channels
This enables sending of direct probes on passive channels, as long as traffic was detected on that channel. This enables connectivity to hidden/non broadcasting SSIDs APs on passive channels. Note 5000 HW declares all 5.2 spectrum as passive. Signed-off-by: Cahill Ben <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Ron Rindjunsky <[email protected]> Signed-off-by: Zhu Yi <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
b94d8eea44
commit
0ffe014a8c
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ static int iwl_get_channels_for_scan(struct iwl_priv *priv,
|
|||
else
|
||||
scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE;
|
||||
|
||||
if ((scan_ch->type & SCAN_CHANNEL_TYPE_ACTIVE) && n_probes)
|
||||
if (n_probes)
|
||||
scan_ch->type |= IWL_SCAN_PROBE_MASK(n_probes);
|
||||
|
||||
scan_ch->active_dwell = cpu_to_le16(active_dwell);
|
||||
|
|
|
|||
Loading…
Reference in a new issue