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)
commit174a73034cdbe2bb2784c9963e75d196364c348e
tree09d6b8f28c239c869183a28c3684515ddc751fa5
parent06bba80e711b9b66e9316d4d228b55f768c27749
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