Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Better choice of print function for wifi ...
details: https://anonhg.NetBSD.org/src-all/rev/93c478cb185a
branches: trunk
changeset: 375451:93c478cb185a
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Tue May 12 13:18:37 2020 +1000
description:
Better choice of print function for wifi rates.
diffstat:
sys/net80211/ieee80211.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 96d9337964bb -r 93c478cb185a sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c Tue May 12 13:04:08 2020 +1000
+++ b/sys/net80211/ieee80211.c Tue May 12 13:18:37 2020 +1000
@@ -2049,10 +2049,10 @@ ieee80211_announce(struct ieee80211com *
if (mword == 0)
continue;
rate = ieee80211_media2rate(mword);
- ic_printf(ic, "%s%d%sMbps", (i != 0 ? " " : ""),
+ aprint_normal("%s%d%sMbps", (i != 0 ? " " : ""),
rate / 2, ((rate & 0x1) != 0 ? ".5" : ""));
}
- aprint_debug("\n");
+ aprint_normal("\n");
}
ieee80211_ht_announce(ic);
ieee80211_vht_announce(ic);
Home |
Main Index |
Thread Index |
Old Index