]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: bump the transmit wait timeout to 5 seconds
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 8 Jan 2010 17:28:34 +0000 (18:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:08 +0000 (14:02 -0500)
commit26d7024ba3278aeef7b6ed64b639056f423f6e88
tree88f4593323d35a604175922257c6b893da1d6198
parent5a5072f9d392b840de5f7e7f1f0301d58854174d
mwl8k: bump the transmit wait timeout to 5 seconds

While it is reasonable to expect that at least one transmit ring entry
will be processed per second while we are waiting for the transmit
rings to drain, the firmware can end up doing batching of transmit ring
status writeback, which means that the transmit rings can appear stuck
for more than a second at a time.

Bump the TX drain wait timeout up from 1 to 5 seconds to account for
this.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c