]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: don't use MIMO when ht_mode is set to wide
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:14:13 +0000 (12:14 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:58:32 +0000 (15:58 +0300)
commitc0290dc1c7c919bfa3245c466f9e70ed8b8ff12f
tree09d6b8f28c239c869183a28c3684515ddc751fa5
parent43ef961666500f49be2a75648c3f8604dac47963
wl18xx: don't use MIMO when ht_mode is set to wide

If the wl18xx module is loaded with ht_mode=wide (the default), we
shouldn't use MIMO rates when the channel type is not HT40.  Fix this
by checking the ht_mode before deciding which rates to used.
Additionally, set the ht_mode parameter explicitly to "wide" as the
default.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/main.c