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/712d2d2fc378
branches: trunk
changeset: 986401:712d2d2fc378
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 8c717a4f3a74 -r 712d2d2fc378 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 @@
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