]> err.no Git - linux-2.6/commit
[PATCH] bcm43xx: fix race condition in periodic work handler
authorMichael Buesch <mb@bu3sch.de>
Tue, 26 Sep 2006 18:22:41 +0000 (13:22 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Oct 2006 00:09:47 +0000 (20:09 -0400)
commit3693ec670b3bb4d11295856bea3592dd8f37f9a5
tree3af120e21b4d693f8f48bf5d00a8b2872c4018b2
parent51018b0a3160d253283173c2f54f16746cee5852
[PATCH] bcm43xx: fix race condition in periodic work handler

There is a potential race condition in the periodic_work_handler routine
of bcm43xx-softmac. In addition to fixing this condition, the size of code is
reduced by moving the mutex lock outside the if.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c