]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8180: fix incorrect TX retry.
authorAndrea Merello <andrea.merello@gmail.com>
Mon, 30 Jun 2014 16:18:55 +0000 (18:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jul 2014 18:26:27 +0000 (14:26 -0400)
commit0ddd5c08c85b736ff173e5dbd5b253bde3afb66e
tree2a321be8a7ffe2035a9d2281ac56bc5f948a6f76
parent2633b877533575c0c5f1a235d1241397f65a53f6
rtl8180: fix incorrect TX retry.

HW is programmed with wrong retry count value for TX:

Mac80211 passes to driver the number of times the TX should be attempted.
The HW, instead, wants the number of time the TX should be retried if it fails
the first time (assuming we have to TX it at least one time).

This patch correct this.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c