u32 changed);
 void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
 void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
-int ath_beaconq_config(struct ath_softc *sc);
 void ath9k_set_beacon(struct ath_softc *sc);
 void ath9k_set_beaconing_status(struct ath_softc *sc, bool status);
 
 
  *  the operating mode of the station (AP or AdHoc).  Parameters are AIFS
  *  settings and channel width min/max
 */
-int ath_beaconq_config(struct ath_softc *sc)
+static void ath9k_beaconq_config(struct ath_softc *sc)
 {
        struct ath_hw *ah = sc->sc_ah;
        struct ath_common *common = ath9k_hw_common(ah);
        struct ath_txq *txq;
 
        ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi);
+
        if (sc->sc_ah->opmode == NL80211_IFTYPE_AP) {
                /* Always burst out beacon and CAB traffic. */
                qi.tqi_aifs = 1;
        }
 
        if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) {
-               ath_err(common,
-                       "Unable to update h/w beacon queue parameters\n");
-               return 0;
+               ath_err(common, "Unable to update h/w beacon queue parameters\n");
        } else {
                ath9k_hw_resettxqueue(ah, sc->beacon.beaconq);
-               return 1;
        }
 }
 
 
        ath9k_hw_disable_interrupts(ah);
        ath9k_hw_reset_tsf(ah);
+       ath9k_beaconq_config(sc);
        ath9k_hw_beaconinit(ah, nexttbtt, intval);
        sc->beacon.bmisscnt = 0;
        ath9k_hw_set_interrupts(ah);
        ath_dbg(common, BEACON, "AP nexttbtt: %u intval: %u conf_intval: %u\n",
                nexttbtt, intval, conf->beacon_interval);
 
-       ath_beaconq_config(sc);
        ath9k_beacon_init(sc, nexttbtt, intval);
 }
 
        ath_dbg(common, BEACON, "IBSS nexttbtt: %u intval: %u conf_intval: %u\n",
                nexttbtt, intval, conf->beacon_interval);
 
-       ath_beaconq_config(sc);
        ath9k_beacon_init(sc, nexttbtt, intval);
 }
 
 
        int error = 0;
        struct ath9k_tx_queue_info qi;
 
-       if (qnum == sc->beacon.beaconq) {
-               /*
-                * XXX: for beacon queue, we just save the parameter.
-                * It will be picked up by ath_beaconq_config when
-                * it's necessary.
-                */
-               sc->beacon.beacon_qi = *qinfo;
-               return 0;
-       }
-
        BUG_ON(sc->tx.txq[qnum].axq_qnum != qnum);
 
        ath9k_hw_get_txq_props(ah, qnum, &qi);