提交 ae4ecb9f 编写于 作者: I Ivo van Doorn 提交者: John W. Linville

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: NIvo van Doorn <IvDoorn@gmail.com>
Acked-by: NHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 28d9cc7f
...@@ -915,7 +915,7 @@ struct rt2x00_dev { ...@@ -915,7 +915,7 @@ struct rt2x00_dev {
* in those cases REGISTER_BUSY_COUNT attempts should be * in those cases REGISTER_BUSY_COUNT attempts should be
* taken with a REGISTER_BUSY_DELAY interval. * taken with a REGISTER_BUSY_DELAY interval.
*/ */
#define REGISTER_BUSY_COUNT 5 #define REGISTER_BUSY_COUNT 100
#define REGISTER_BUSY_DELAY 100 #define REGISTER_BUSY_DELAY 100
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册