hostapd: add acs feature indication

Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
openwrt-19.07
Enrique Giraldo 2018-09-18 13:52:08 +02:00 committed by Hauke Mehrtens
parent 92aa21497b
commit 61454a0a8c
1 changed files with 4 additions and 0 deletions

View 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;
}