ath9k: reduce the number of unnecessary BAR tx packets
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / main.c
index 7d920044d031b3370fc91ba44fc825c7796df932..4475b0d5b3aeb7d0304a2662b0b41c4cbe753c34 100644 (file)
@@ -644,9 +644,9 @@ static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta,
        spin_lock(&sc->nodes_lock);
        list_add(&an->list, &sc->nodes);
        spin_unlock(&sc->nodes_lock);
+#endif
        an->sta = sta;
        an->vif = vif;
-#endif
        if (sc->sc_flags & SC_OP_TXAGGR) {
                ath_tx_node_init(sc, an);
                an->maxampdu = 1 << (IEEE80211_HT_MAX_AMPDU_FACTOR +
This page took 0.026891 seconds and 5 git commands to generate.