Johannes Berg wrote:
> Maybe we need something like this:
> 
> diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
> index af0d094b2f2f..45b74ab1c59d 100644
> --- a/net/mac80211/scan.c
> +++ b/net/mac80211/scan.c
> @@ -985,7 +985,6 @@ void ieee80211_scan_cancel(struct ieee80211_local *local)
>                       drv_cancel_hw_scan(local,
>                               rcu_dereference_protected(local->scan_sdata,
>                                               lockdep_is_held(&local->mtx)));
> -             goto out;
>       }

Is the big comment at the beginning of ieee80211_scan_cancel()
outdated ? It does seem valid to me, at least the point about
not cancelling scan_work for HW scan.

Sujith
--
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