> @@ -599,7 +599,9 @@ static int __ieee80211_start_scan(struct
> ieee80211_sub_if_data *sdata,
>  
>               if ((req->channels[0]->flags &
>                    IEEE80211_CHAN_NO_IR) ||
> -                 !req->n_ssids) {
> +                 !req->n_ssids ||
> +                 ((req->channels[0]->flags &
> IEEE80211_CHAN_RADAR) &&
> +                  (req->flags &
> NL80211_SCAN_FLAG_PASSIVE_RADAR))) {
>                       next_delay = IEEE80211_PASSIVE_CHANNEL_TIME;
> 

I don't really see any circumstances under which it's valid to actively
scan radar channels ... seems like we should do this unconditionally?

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to