summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_rate/onoe/onoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_rate/onoe/onoe.c')
-rw-r--r--sys/dev/ath/ath_rate/onoe/onoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_rate/onoe/onoe.c b/sys/dev/ath/ath_rate/onoe/onoe.c
index ac0eac7..3cf8073 100644
--- a/sys/dev/ath/ath_rate/onoe/onoe.c
+++ b/sys/dev/ath/ath_rate/onoe/onoe.c
@@ -445,7 +445,7 @@ ath_ratectl(void *arg)
struct ieee80211com *ic = &sc->sc_ic;
int interval;
- if (ifp->if_flags & IFF_RUNNING) {
+ if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
sc->sc_stats.ast_rate_calls++;
if (ic->ic_opmode == IEEE80211_M_STA)
OpenPOWER on IntegriCloud