]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - info.c
iw: Print local EHT capabilities
[thirdparty/iw.git] / info.c
diff --git a/info.c b/info.c
index fa79ec7b24f0d79f593ff673bf6f0802c905e589..d274130537fd73425ba27fb8fe3e04b4326be609 100644 (file)
--- a/info.c
+++ b/info.c
@@ -170,8 +170,12 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
                                struct nlattr *nl_iftype;
                                int rem_band;
 
-                               nla_for_each_nested(nl_iftype, tb_band[NL80211_BAND_ATTR_IFTYPE_DATA], rem_band)
+                               nla_for_each_nested(nl_iftype,
+                                                   tb_band[NL80211_BAND_ATTR_IFTYPE_DATA],
+                                                   rem_band) {
                                        print_he_info(nl_iftype);
+                                       print_eht_info(nl_iftype, last_band);
+                               }
                        }
                        if (tb_band[NL80211_BAND_ATTR_FREQS]) {
                                if (!band_had_freq) {