hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/net/wireless/ath/ath9k/beacon.c
....@@ -365,7 +365,7 @@
365365 if (!vif || !vif->csa_active)
366366 return false;
367367
368
- if (!ieee80211_csa_is_complete(vif))
368
+ if (!ieee80211_beacon_cntdwn_is_complete(vif))
369369 return false;
370370
371371 ieee80211_csa_finish(vif);
....@@ -385,9 +385,9 @@
385385 ath9k_csa_update_vif, sc);
386386 }
387387
388
-void ath9k_beacon_tasklet(unsigned long data)
388
+void ath9k_beacon_tasklet(struct tasklet_struct *t)
389389 {
390
- struct ath_softc *sc = (struct ath_softc *)data;
390
+ struct ath_softc *sc = from_tasklet(sc, t, bcon_tasklet);
391391 struct ath_hw *ah = sc->sc_ah;
392392 struct ath_common *common = ath9k_hw_common(ah);
393393 struct ath_buf *bf = NULL;