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)
commit601d6c4e701133ae23dd1b9507bf9d3a4172e586
tree6b457cfcadbd535d2b8dde4bf3d24e04a5b255d4
parent30a003588898924964dfa537670f35aac7cd9629
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