]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: fix last tx rate calculation
authorEliad Peller <eliad@wizery.com>
Fri, 11 Jul 2014 00:01:28 +0000 (03:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jul 2014 19:59:53 +0000 (15:59 -0400)
commit1a9717b26acd2f548ca2664cbc4dc79929283e35
tree6b457cfcadbd535d2b8dde4bf3d24e04a5b255d4
parentfce2ed6f0900174f867f280f35cddf6cce974144
wl18xx: fix last tx rate calculation

The last tx rate calculation didn't take into account
the different indices of 11a and 11g rates tables.

Add the required alignment (count only from the first
11a rate in case of 11a)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl18xx/tx.c