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