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

Rafał Miłecki zajec5 at gmail.com
Sat Nov 29 00:54:29 PST 2014


On 29 November 2014 at 04:32, 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.

So do you say it's not executed in an atomic?

>From *early* look it seems b43_update_templates is called from
b43_op_beacon_set_tim and b43_op_bss_info_changed, both or them are
mac80211 callbacks. That also should be safe, however I didn't check
if it may conflict with some in-kernel code (still, assuming it's not
atomic code, which I don't know!).



More information about the b43-dev mailing list