Search Linux Wireless

Re: [RFC 03/07] compat-wireless: Enable changing regulatory domain

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

 



On Wed, 2011-10-12 at 03:02 +0200, Dmitry Tarnyagin wrote:
> From: Johan Lilje <johan.lilje@xxxxxxxxxxxxxx>
> Date: Tue, 2 Aug 2011 09:21:49 +0200
> 
> If compat-wireless code is compiled into the kernel,
> first request regulatory hint fails to return since
> userspace is not ready yet.
> Added timeout mechanism to remove old pending requests.

Completely wrong description. Make your patches apply to the kernel, not
compat-wireless.

> + * @timestamp: stores the time when this request calls crda, to enable
> + *	timeout mechanism.
>    * @list: used to insert into the reg_requests_list linked list
>    */
>   struct regulatory_request {
> @@ -70,6 +72,7 @@ struct regulatory_request {
>   	bool intersect;
>   	bool processed;
>   	enum environment_cap country_ie_env;
> +	struct timespec timestamp;

Seriously? You've gotta be kidding. WAAYY overkill to use timespec. Just
use jiffies.

johannes

--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux