diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-11-13 13:08:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-17 16:18:45 -0500 |
commit | ae4ecb9f8f01eb9deffb5bd837dc90f4e646cd2d (patch) | |
tree | 525fb052c7c9d12c9c2663ba1f660b1cf153332a /drivers/net | |
parent | 28d9cc7f21da6a70fc8c1516fa0ee5588572eb92 (diff) |
rt2x00: Increase REGISTER_BUSY_COUNT
For some hardware the REGISTER_BUSY_COUNT isn't sufficient,
increase the REGISTER_BUSY_COUNT to 100 to catch most
devices which have more problems with accessing the registers.
For normal operating devices nothing would change as they will
exit the loop early anyway.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 42bd3a96f23b..0a55eeff871e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -915,7 +915,7 @@ struct rt2x00_dev { | |||
915 | * in those cases REGISTER_BUSY_COUNT attempts should be | 915 | * in those cases REGISTER_BUSY_COUNT attempts should be |
916 | * taken with a REGISTER_BUSY_DELAY interval. | 916 | * taken with a REGISTER_BUSY_DELAY interval. |
917 | */ | 917 | */ |
918 | #define REGISTER_BUSY_COUNT 5 | 918 | #define REGISTER_BUSY_COUNT 100 |
919 | #define REGISTER_BUSY_DELAY 100 | 919 | #define REGISTER_BUSY_DELAY 100 |
920 | 920 | ||
921 | /* | 921 | /* |