Search Linux Wireless

Re: [PATCH] cfg80211: bugfix in regulatory user hint process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> After processing hint_user, we would want to schedule the
> timeout work only if we are actually waiting to CRDA. This happens
> when the status is not "IGNORE" nor "ALREADY_SET".

Luis, does this seem right to you? I looked at it but wasn't _entirely_
sure.

johannes

> --- a/net/wireless/reg.c
> +++ b/net/wireless/reg.c
> @@ -1700,7 +1700,7 @@ static void reg_process_hint(struct regulatory_request *reg_request)
>  		return;
>  	case NL80211_REGDOM_SET_BY_USER:
>  		treatment = reg_process_hint_user(reg_request);
> -		if (treatment == REG_REQ_OK ||
> +		if (treatment == REG_REQ_IGNORE ||
>  		    treatment == REG_REQ_ALREADY_SET)
>  			return;
>  		schedule_delayed_work(&reg_timeout, msecs_to_jiffies(3142));


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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux