On Tue, Jan 6, 2015 at 12:54 PM, Johannes Berg
<[email protected]> wrote:
> On Thu, 2015-01-01 at 13:42 +0200, Arik Nemtsov wrote:
>> A self-managed device will sometimes need to set its regdomain synchronously.
>> Notably it should be set before usermode has a chance to query it. Expose
>> a new API to accomplish this which requires the RTNL.
>
>> +     ret = regulatory_set_wiphy_regd(wiphy, rd);
>> +     if (ret)
>> +             return ret;
>
> It seems to me you should refactor that and avoid scheduling the work
> struct when you're going to run the necessary work below by hand.

Sounds good.

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