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/6e1c8bf43f6e
branches: trunk
changeset: 935747:6e1c8bf43f6e
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 b55781872dc6 -r 6e1c8bf43f6e 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
@@ -2050,10 +2050,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