|
@@ -421,7 +421,7 @@ static int iwl_get_channels_for_scan(struct iwl_priv *priv,
|
|
else
|
|
else
|
|
scan_ch->type = SCAN_CHANNEL_TYPE_ACTIVE;
|
|
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->type |= IWL_SCAN_PROBE_MASK(n_probes);
|
|
|
|
|
|
scan_ch->active_dwell = cpu_to_le16(active_dwell);
|
|
scan_ch->active_dwell = cpu_to_le16(active_dwell);
|