Subject: Re: [PATCH 2/2]d80211: add hardware scan callback

From: Johannes Berg <[email-masked]>
Date: Fri, 01 Sep 2006 08:41:03 +0200

On Fri, 2006-09-01 at 11:37 +0800, Hong Liu wrote:
>  
> +	local->sta_scanning = 1;
> +	if (local->hw->hw_scan)
> +		return local->hw->hw_scan(dev, ssid, ssid_len);
> +

My question still stands, is it proper to assign sta_scanning to 1 even
if the function returns an error?

johannes