]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8187: fix retry count passed in rtl8187_tx
authorherton <herton@mandriva.com.br>
Fri, 28 Nov 2008 00:53:24 +0000 (22:53 -0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:32:59 +0000 (09:32 -0500)
commit5557495fcb68cd502e5f5ffd37d970dda615e4a1
tree5042dad1a4a5c9ba4416774c700840f782e31c01
parented378f666894d204e02bc46d59a81e16fc15d43c
rtl8187: fix retry count passed in rtl8187_tx

I mistakenly changed retry count passed in rtl8187_tx in previous change
"rtl8187: feedback transmitted packets using tx close descriptor for
8187B". For 8187 it should represent the number of retries (retry count
limit). As explained by Johannes Berg, .count represents the number of
tries (not retries), and retries = tries - 1.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_dev.c