]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
print max scan IE length
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 25 Mar 2010 06:28:03 +0000 (23:28 -0700)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 25 Mar 2010 06:28:03 +0000 (23:28 -0700)
info.c

diff --git a/info.c b/info.c
index 1a1b5883e0cef3d56312d1d3bdf0bfe04641ff54..512e77739842f2b87d13d3220a7553a43c751765 100644 (file)
--- a/info.c
+++ b/info.c
@@ -139,6 +139,9 @@ static int print_phy_handler(struct nl_msg *msg, void *arg)
        if (tb_msg[NL80211_ATTR_MAX_NUM_SCAN_SSIDS])
                printf("\tmax # scan SSIDs: %d\n",
                       nla_get_u8(tb_msg[NL80211_ATTR_MAX_NUM_SCAN_SSIDS]));
+       if (tb_msg[NL80211_ATTR_MAX_SCAN_IE_LEN])
+               printf("\tmax scan IEs length: %d bytes\n",
+                      nla_get_u32(tb_msg[NL80211_ATTR_MAX_SCAN_IE_LEN]));
 
        if (tb_msg[NL80211_ATTR_WIPHY_FRAG_THRESHOLD]) {
                unsigned int frag;