hostapd: add acs feature indication
authorEnrique Giraldo <enrique.giraldo@galgus.net>
Tue, 18 Sep 2018 11:52:08 +0000 (13:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2018 15:23:11 +0000 (17:23 +0200)
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
package/network/services/hostapd/src/src/utils/build_features.h

index 3158043..ba082de 100644 (file)
@@ -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;
 }