From mboxrd@z Thu Jan 1 00:00:00 1970 From: nick Date: Mon, 05 Jan 2015 13:21:32 -0500 Subject: [PATCH] drivers:net:wireless: Add proper locking for the function, b43_op_beacon_set_tim in main.c In-Reply-To: <54AACE00.8060407@lwfinger.net> References: <1420184041-6788-1-git-send-email-xerofoify@gmail.com> <87tx05378x.fsf@kamboji.qca.qualcomm.com> <54AAC6EE.2000603@gmail.com> <54AACE00.8060407@lwfinger.net> Message-ID: <54AAD62C.3000105@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Larry Finger , Kalle Valo Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, b43-dev-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, stefano.brivio-hl5o88x/ua9eoWH0uzbU5w@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Larry, Your right I build tested it. Unfortunately I don't have the hardware. Regards Nick On 2015-01-05 12:46 PM, Larry Finger wrote: > On 01/05/2015 11:16 AM, nick wrote: >> Kalle, >> That's fine. On the other hand I am interested in the >> reasons why this patch was dropped so I can send in a >> version 2 of this patch. >> Regards Nick > > Apparently you missed Michael B?sch's comment: > > "Thanks for the patch. > > However, this does not work. We are in atomic context here. > Please see the b43-dev mailing list archives for a recent thread about that. > I'm also pretty sure that this is safe without lock, due to the higher level locks in mac80211." > > Did you actually test the patch? If Michael is right, and I trust him on this matter, your patch should lock the system. > > Larry >