]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: fix station dump beacon RX indent
authorAlex Gavin <a_gavin@icloud.com>
Sun, 22 Mar 2026 18:29:48 +0000 (11:29 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Mar 2026 14:39:05 +0000 (15:39 +0100)
Signed-off-by: Alex Gavin <a_gavin@icloud.com>
Link: https://patch.msgid.link/20260322182948.13604-1-a_gavin@icloud.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
station.c

index 5adf6bf19bfcab794fd975241f0810ab4327a4db..0f992d5b913471d1876b17a09df78b3b6083056d 100644 (file)
--- a/station.c
+++ b/station.c
@@ -354,7 +354,7 @@ static void print_nested_sta_handler(struct nlattr *link_sinfo[NL80211_STA_INFO_
                printf("%sbeacon loss:\t%u", indent,
                       nla_get_u32(link_sinfo[NL80211_STA_INFO_BEACON_LOSS]));
        if (link_sinfo[NL80211_STA_INFO_BEACON_RX])
-               printf("\n\t\tbeacon rx:\t%llu",
+               printf("%sbeacon rx:\t%llu", indent,
                       (unsigned long long)nla_get_u64(link_sinfo[NL80211_STA_INFO_BEACON_RX]));
        if (link_sinfo[NL80211_STA_INFO_RX_DROP_MISC])
                printf("%srx drop misc:\t%llu", indent,