Browse Source

hostapd: add acs feature indication

Signed-off-by: Enrique Giraldo <[email protected]>
Enrique Giraldo 7 years ago
parent
commit
61454a0a8c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/network/services/hostapd/src/src/utils/build_features.h

+ 4 - 0
package/network/services/hostapd/src/src/utils/build_features.h

@@ -22,6 +22,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_IEEE80211W
 	if (!strcmp(feat, "11w"))
 		return 1;
+#endif
+#ifdef CONFIG_ACS
+	if (!strcmp(feat, "acs"))
+		return 1;
 #endif
 	return 0;
 }