git: c45d05b71817 - main - net80211: fix ddb print alignment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Sep 2023 14:28:51 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=c45d05b71817e478953d6f235d921c2b4acc82de
commit c45d05b71817e478953d6f235d921c2b4acc82de
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-09-11 14:23:20 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-09-11 14:28:04 +0000
net80211: fix ddb print alignment
Add missing \ts after new lines to properly align output of ddb show
commands.
Sponsored by: The FreeBSD Foundation
MFC after: 10 days
---
sys/net80211/ieee80211_ddb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c
index 7a6ee49d7705..4e2df134c7a9 100644
--- a/sys/net80211/ieee80211_ddb.c
+++ b/sys/net80211/ieee80211_ddb.c
@@ -506,7 +506,7 @@ _db_show_vap(const struct ieee80211vap *vap, int showmesh, int showprocs)
db_printf(" ht_sta_assoc %u", vap->iv_ht_sta_assoc);
db_printf(" ht40_sta_assoc %u", vap->iv_ht40_sta_assoc);
db_printf("\n");
- db_printf(" nonerpsta %u", vap->iv_nonerpsta);
+ db_printf("\tnonerpsta %u", vap->iv_nonerpsta);
db_printf(" longslotsta %u", vap->iv_longslotsta);
db_printf(" lastnonerp %d", vap->iv_lastnonerp);
db_printf(" lastnonht %d", vap->iv_lastnonht);
@@ -550,7 +550,7 @@ _db_show_com(const struct ieee80211com *ic, int showvaps, int showsta,
db_printf(" phytype %d", ic->ic_phytype);
db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]);
db_printf("\n");
- db_printf(" inact %p", &ic->ic_inact);
+ db_printf("\tinact %p", &ic->ic_inact);
db_printf("\n");
db_printf("\tflags=%b\n", ic->ic_flags, IEEE80211_F_BITS);