aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_ath_tdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/if_ath_tdma.c')
-rw-r--r--sys/dev/ath/if_ath_tdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tdma.c b/sys/dev/ath/if_ath_tdma.c
index de1a91ca02e9..fd23db1977da 100644
--- a/sys/dev/ath/if_ath_tdma.c
+++ b/sys/dev/ath/if_ath_tdma.c
@@ -259,7 +259,7 @@ ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap)
if (vap == NULL) {
vap = TAILQ_FIRST(&ic->ic_vaps); /* XXX */
if (vap == NULL) {
- if_printf(ifp, "%s: no vaps?\n", __func__);
+ device_printf(sc->sc_dev, "%s: no vaps?\n", __func__);
return;
}
}