diff mbox series

iw: Print limit for maximum associated stations in AP mode

Message ID 20200520094701.10791-1-pali@kernel.org
State New
Headers show
Series iw: Print limit for maximum associated stations in AP mode | expand

Commit Message

Pali Rohár May 20, 2020, 9:47 a.m. UTC
Signed-off-by: Pali Rohár <pali@kernel.org>
---
 info.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/info.c b/info.c
index 9147b92..8062629 100644
--- a/info.c
+++ b/info.c
@@ -723,6 +723,10 @@  broken_combination:
 			pat->max_pattern_len, pat->max_pkt_offset, rule->max_delay);
 	}
 
+	if (tb_msg[NL80211_ATTR_MAX_AP_ASSOC_STA])
+		printf("\tMaximum associated stations in AP mode: %u\n",
+		       nla_get_u16(tb_msg[NL80211_ATTR_MAX_AP_ASSOC_STA]));
+
 	return NL_SKIP;
 }