On Thu, 2015-10-29 at 12:16 +0530, Krishna Chaitanya wrote:
> Hi,
> 
> From the documentation:(mac80211.h) For the ieee80211_ops
> (un)assign_vif_chanctx, there is no mention of explicit sleep
> requirements (allowed/disallwoed) for the callback.

Same goes for drv_switch_vif_chanctx().

> From a quick glance at the code calling the OP, looks like we can
> sleep (mutexes are used). So how should we handle such OPS? is it ok
> to sleep in the callback?
> 

You can sleep, and I'd appreciate if you sent a patch to add
might_sleep() to the code and the appropriate documentation.

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