diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-07-31 19:30:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-01 15:31:35 -0400 |
commit | 7dcdd073bf78bb6958bbc12a1a47754a0f3c4721 (patch) | |
tree | 296f03bd684ff19698db4c44330a68f4ae9846b3 /drivers/video/stifb.c | |
parent | bf4634afd8bb72936d2d56425ec792ca1bfa92a2 (diff) |
rtl8187: Fix lockups due to concurrent access to config routine
Some users of the RTL8187B have experienced difficulties since commit
49292d56352a6ab90d04c3448dd8b6106dfef2d6 that introduced the power
management wext hooks. This difficulty has not made much sense until
it was realized that it was possible for mac80211 to make a call to the
config routine while that routine was already being executed. On this
device, it is necessary to loopback the TX when changing channels. Unless
this is properly restored, the device will lockup. A mutex now protects
the device state, and the private data in several places.
The problem was found by Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
who also suggested this type of fix.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/video/stifb.c')
0 files changed, 0 insertions, 0 deletions