Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Use an alternative printing function so r...



details:   https://anonhg.NetBSD.org/src-all/rev/2df5b2e1a53f
branches:  trunk
changeset: 939819:2df5b2e1a53f
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 13:04:08 2020 +1000

description:
Use an alternative printing function so rates are displayed.

diffstat:

 sys/net80211/ieee80211.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 303f7cfa0d39 -r 2df5b2e1a53f sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c  Tue May 12 13:03:17 2020 +1000
+++ b/sys/net80211/ieee80211.c  Tue May 12 13:04:08 2020 +1000
@@ -2050,7 +2050,7 @@
                        if (mword == 0)
                                continue;
                        rate = ieee80211_media2rate(mword);
-                       aprint_debug("%s%d%sMbps", (i != 0 ? " " : ""),
+                       ic_printf(ic, "%s%d%sMbps", (i != 0 ? " " : ""),
                            rate / 2, ((rate & 0x1) != 0 ? ".5" : ""));
                }
                aprint_debug("\n");



Home | Main Index | Thread Index | Old Index