p54: Fix potential concurrent access to private data
commit6041e2a08c50e3fcaf1e56422bfafda62c597cea
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 3 Aug 2008 22:58:36 +0000 (3 17:58 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Aug 2008 19:09:12 +0000 (4 15:09 -0400)
tree515d1d222f9323232da46aa024cb38e707481a1f
parentd06193f311102b2c990ec5f66b470ea49ecc73a4
p54: Fix potential concurrent access to private data

Experience with the rtl8187 driver has shown that mac80211 can make
calls to the config callback routine in rapid succession. This patch
creates a mutex that protects the private data in several of the routines
called by mac80211.

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