]> git.baikalelectronics.ru Git - kernel.git/commit
p54: Fix potential concurrent access to private data
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 3 Aug 2008 22:58:36 +0000 (17:58 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Aug 2008 19:09:12 +0000 (15:09 -0400)
commit0491bdb4f5c75bb8c2f8ea486579555f13faac47
tree515d1d222f9323232da46aa024cb38e707481a1f
parent19c7a4214ede67205cceea660cda2929ef97443f
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