wl18xx: default to siso40 in 2.4ghz with a single antenna
authorArik Nemtsov <arik@wizery.com>
Wed, 15 Aug 2012 16:11:43 +0000 (19:11 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:53 +0000 (12:13 +0300)
The driver used siso20 in this case for legacy reasons.

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

index 9bf2d8755c5b75cdb075db2e8532e0f5579ac7a0..44e5cadc8f321b96387e8a852898c27a690d685e 100644 (file)
@@ -1485,14 +1485,14 @@ static int __devinit wl18xx_probe(struct platform_device *pdev)
        if (priv->conf.ht.mode == HT_MODE_DEFAULT) {
                /*
                 * Only support mimo with multiple antennas. Fall back to
-                * siso20.
+                * siso40.
                 */
                if (wl18xx_is_mimo_supported(wl))
                        wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ,
                                          &wl18xx_mimo_ht_cap_2ghz);
                else
                        wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ,
-                                         &wl18xx_siso20_ht_cap);
+                                         &wl18xx_siso40_ht_cap_2ghz);
 
                /* 5Ghz is always wide */
                wlcore_set_ht_cap(wl, IEEE80211_BAND_5GHZ,