]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtl8187: Fix lockups due to concurrent access to config routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 6 Aug 2008 04:20:56 +0000 (23:20 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:10 +0000 (11:05 -0700)
commitc8579c82a2404274193ac75fe27d68bf112b908c
tree209321f38056124d09a1643de3ca94dc006e6988
parentf733cd4d7fdbac8af0c711b4932e57909cab7883
rtl8187: Fix lockups due to concurrent access to config routine

With the rtl8187 driver, the config routine is not protected against
access before a previous call has completed. When this happens, the
TX loopback that is needed to change channels may cause the chip to
be locked with a reset needed to restore communications. This patch
entered mainline as commit 7dcdd073bf78bb6958bbc12a1a47754a0f3c4721.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/rtl8187.h
drivers/net/wireless/rtl8187_dev.c