From: Antonio Quartulli Date: Fri, 26 Oct 2012 14:41:47 +0000 (+0200) Subject: iw: show AP scan capability X-Git-Tag: v3.8~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa2be2ff4e033a07c8fa28b5f52087f5fe50ad6;p=thirdparty%2Fiw.git iw: show AP scan capability If the wireless driver supports the AP scan capability (this can be seen by checking NL80211_FEATURE_AP_SCAN) iw has to show it. Signed-off-by: Antonio Quartulli --- diff --git a/info.c b/info.c index 799f6d3..5dab1e8 100644 --- a/info.c +++ b/info.c @@ -448,6 +448,8 @@ broken_combination: printf("\tDevice supports low priority scan.\n"); if (features & NL80211_FEATURE_SCAN_FLUSH) printf("\tDevice supports scan flush.\n"); + if (features & NL80211_FEATURE_AP_SCAN) + printf("\tDevice supports AP scan.\n"); } return NL_SKIP;