[PATCH] drivers:net:wireless: Add mutex locking for function, b43_op_beacon_set_time in main.c

Michael Büsch m at bues.ch
Sat Nov 29 00:56:32 PST 2014


On Fri, 28 Nov 2014 22:32:30 -0500
nick <xerofoify at gmail.com> wrote:

> I don't have hardware for this driver on me, so I didn't test it. However this seems to 
> be correct from my reading of the code around this function and other locking related
> to this driver.

From the current docs:

>  * @set_tim: Set TIM bit. mac80211 calls this function when a TIM bit
>  *      must be set or cleared for a given STA. Must be atomic.

So it is not allowed to lock a mutex here.

-- 
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20141129/9e9fdd70/attachment.sig>


More information about the b43-dev mailing list