diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-08-15 12:11:43 -0400 |
---|---|---|
committer | Luciano Coelho <luca@coelho.fi> | 2012-09-27 05:13:53 -0400 |
commit | 8c5dab1a8449428685414c0de494b77841571fd3 (patch) | |
tree | ed29cf889722fd947d3558af1a1d4a853cbc4d4f /drivers/net/wireless/ti/wl18xx/main.c | |
parent | a8311c8a9a7c41de9cc2d5e1573ff7005b4959ab (diff) |
wl18xx: default to siso40 in 2.4ghz with a single antenna
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>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/main.c')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index 9bf2d8755c5b..44e5cadc8f32 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c | |||
@@ -1485,14 +1485,14 @@ static int __devinit wl18xx_probe(struct platform_device *pdev) | |||
1485 | if (priv->conf.ht.mode == HT_MODE_DEFAULT) { | 1485 | if (priv->conf.ht.mode == HT_MODE_DEFAULT) { |
1486 | /* | 1486 | /* |
1487 | * Only support mimo with multiple antennas. Fall back to | 1487 | * Only support mimo with multiple antennas. Fall back to |
1488 | * siso20. | 1488 | * siso40. |
1489 | */ | 1489 | */ |
1490 | if (wl18xx_is_mimo_supported(wl)) | 1490 | if (wl18xx_is_mimo_supported(wl)) |
1491 | wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, | 1491 | wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, |
1492 | &wl18xx_mimo_ht_cap_2ghz); | 1492 | &wl18xx_mimo_ht_cap_2ghz); |
1493 | else | 1493 | else |
1494 | wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, | 1494 | wlcore_set_ht_cap(wl, IEEE80211_BAND_2GHZ, |
1495 | &wl18xx_siso20_ht_cap); | 1495 | &wl18xx_siso40_ht_cap_2ghz); |
1496 | 1496 | ||
1497 | /* 5Ghz is always wide */ | 1497 | /* 5Ghz is always wide */ |
1498 | wlcore_set_ht_cap(wl, IEEE80211_BAND_5GHZ, | 1498 | wlcore_set_ht_cap(wl, IEEE80211_BAND_5GHZ, |