void ath9k_chanctx_wake_queues(struct ath_softc *sc);
 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx);
 
-void ath_chanctx_beacon_recv_ev(struct ath_softc *sc, u32 ts,
+void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
                                enum ath_chanctx_event ev);
 void ath_chanctx_beacon_sent_ev(struct ath_softc *sc,
                                enum ath_chanctx_event ev);
 static inline void ath9k_deinit_channel_context(struct ath_softc *sc)
 {
 }
-static inline void ath_chanctx_beacon_recv_ev(struct ath_softc *sc, u32 ts,
+static inline void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
                                              enum ath_chanctx_event ev)
 {
 }
 
                        break;
                }
 
-
                /*
                 * Clear the extend_absence flag if it had been
                 * set during the previous beacon transmission,
                        avp->noa_duration = 0;
                        sc->sched.extend_absence = true;
                }
+
                /* Prevent wrap-around issues */
                if (avp->noa_duration && tsf_time - avp->noa_start > BIT(30))
                        avp->noa_duration = 0;
                ath_chanctx_event(sc, NULL, ev);
 }
 
-void ath_chanctx_beacon_recv_ev(struct ath_softc *sc, u32 ts,
+void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
                                enum ath_chanctx_event ev)
 {
-       sc->sched.next_tbtt = ts;
        ath_chanctx_event(sc, NULL, ev);
 }
 
 
 
        if (ath9k_is_chanctx_enabled()) {
                if (rx_stats->is_mybeacon)
-                       ath_chanctx_beacon_recv_ev(sc, rx_stats->rs_tstamp,
+                       ath_chanctx_beacon_recv_ev(sc,
                                           ATH_CHANCTX_EVENT_BEACON_RECEIVED);
        }