802.11: clean up/fix HT support
[deliverable/linux.git] / drivers / net / wireless / ath9k / xmit.c
index 13866043dec95f7a443c9647c7669632dac24318..3770fbe84fce7e1954621b2e54ca46e59183f002 100644 (file)
@@ -300,7 +300,7 @@ static int ath_tx_prepare(struct ath_softc *sc,
        if (ieee80211_is_data(fc) && !txctl->use_minrate) {
 
                /* Enable HT only for DATA frames and not for EAPOL */
-               txctl->ht = (hw->conf.ht_conf.ht_supported &&
+               txctl->ht = (hw->conf.ht_cap.ht_supported &&
                            (tx_info->flags & IEEE80211_TX_CTL_AMPDU));
 
                if (is_multicast_ether_addr(hdr->addr1)) {
This page took 0.026811 seconds and 5 git commands to generate.