diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-09-08 09:11:09 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-09-08 09:11:09 +0000 |
commit | 79452849f82a8546be085ead11cf29040d5f8bf5 (patch) | |
tree | 376d77bf3a94b5263f7d6d8e54e31d4979bae981 /sys/net80211/ieee80211_proto.c | |
parent | e0760aa1f2f31cd631558ffc103464a909c4db94 (diff) |
Remove FreeBSD if_printf compat function from net80211.
ok reyk@
Diffstat (limited to 'sys/net80211/ieee80211_proto.c')
-rw-r--r-- | sys/net80211/ieee80211_proto.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index f32a054f1bc..56cd0800fb6 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_proto.c,v 1.5 2005/09/07 05:40:11 jsg Exp $ */ +/* $OpenBSD: ieee80211_proto.c,v 1.6 2005/09/08 09:11:08 jsg Exp $ */ /* $NetBSD: ieee80211_proto.c,v 1.8 2004/04/30 23:58:20 dyoung Exp $ */ /*- @@ -410,8 +410,8 @@ ieee80211_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int mgt /* beacon miss */ if (ifp->if_flags & IFF_DEBUG) { /* XXX bssid clobbered above */ - if_printf(ifp, "no recent beacons from %s;" - " rescanning\n", + printf("%s: no recent beacons from %s;" + " rescanning\n", ifp->if_xname, ether_sprintf(ic->ic_bss->ni_bssid)); } ieee80211_free_allnodes(ic); @@ -497,7 +497,8 @@ ieee80211_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int mgt ("%s: bogus xmit rate %u setup\n", __func__, ni->ni_txrate)); if (ifp->if_flags & IFF_DEBUG) { - if_printf(ifp, "%s with %s ssid ", + printf("%s: %s with %s ssid ", + ifp->if_xname, ic->ic_opmode == IEEE80211_M_STA ? "associated" : "synchronized", ether_sprintf(ni->ni_bssid)); |