From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Mon, 05 Jan 2015 11:29:50 +0200 Subject: [PATCH] drivers:net:wireless: Add proper locking for the function, b43_op_beacon_set_tim in main.c In-Reply-To: <1420184041-6788-1-git-send-email-xerofoify@gmail.com> (Nicholas Krause's message of "Fri, 2 Jan 2015 02:34:01 -0500") References: <1420184041-6788-1-git-send-email-xerofoify@gmail.com> Message-ID: <87tx05378x.fsf@kamboji.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nicholas Krause Cc: stefano.brivio@polimi.it, linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Nicholas Krause writes: > This adds proper locking for the function, b43_op_beacon_set_tim in > main.c by using the mutex lock in the structure pointer wl, as > embedded into this pointer as a mutex in order to protect against > multiple access to the pointer wl when updating the templates for this > pointer in the function, b43_update_templates internally in the > function, b43_op_beacon_set_tim. > > Signed-off-by: Nicholas Krause Based on the discussion I have dropped this patch. -- Kalle Valo