git: 4e03427c55a5 - stable/13 - net80211: fix ddb print alignment

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 29 Nov 2023 16:38:10 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=4e03427c55a59bbde92386034c8ba03fbf63aa0f

commit 4e03427c55a59bbde92386034c8ba03fbf63aa0f
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-09-11 14:23:20 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-11-29 16:36:05 +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
    
    (cherry picked from commit c45d05b71817e478953d6f235d921c2b4acc82de)
---
 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 9fe1ad1c62e5..eb4ad9cc777d 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);