diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index 8e1528d487b5..eb557add6567 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c | |||
@@ -1359,7 +1359,7 @@ static void ath_rc_init(struct ath_softc *sc, | |||
1359 | 1359 | ||
1360 | if (sta->ht_cap.ht_supported) { | 1360 | if (sta->ht_cap.ht_supported) { |
1361 | ath_rc_priv->ht_cap = WLAN_RC_HT_FLAG; | 1361 | ath_rc_priv->ht_cap = WLAN_RC_HT_FLAG; |
1362 | if (sc->sc_tx_chainmask != 1) | 1362 | if (sc->sc_ah->ah_caps.tx_chainmask != 1) |
1363 | ath_rc_priv->ht_cap |= WLAN_RC_DS_FLAG; | 1363 | ath_rc_priv->ht_cap |= WLAN_RC_DS_FLAG; |
1364 | if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) | 1364 | if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) |
1365 | ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG; | 1365 | ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG; |