ath9k: Handle chainmask for A9280
[deliverable/linux.git] / drivers / net / wireless / ath9k / rc.c
index 8e1528d487b5cee14d2f45cda352bd12d5efb798..eb557add656749828c30647c62007593a6d57601 100644 (file)
@@ -1359,7 +1359,7 @@ static void ath_rc_init(struct ath_softc *sc,
 
        if (sta->ht_cap.ht_supported) {
                ath_rc_priv->ht_cap = WLAN_RC_HT_FLAG;
-               if (sc->sc_tx_chainmask != 1)
+               if (sc->sc_ah->ah_caps.tx_chainmask != 1)
                        ath_rc_priv->ht_cap |= WLAN_RC_DS_FLAG;
                if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
                        ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG;
This page took 0.024913 seconds and 5 git commands to generate.