projects
/
openwrt
/
staging
/
mkresin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
network/services/hostapd: move whole files outside of patches and drop Build/Prepare...
[openwrt/staging/mkresin.git]
/
package
/
network
/
services
/
hostapd
/
src
/
src
/
utils
/
build_features.h
1
#ifndef BUILD_FEATURES_H
2
#define BUILD_FEATURES_H
3
4
static
inline
int
has_feature
(
const char
*
feat
)
5
{
6
#ifdef IEEE8021X_EAPOL
7
if
(!
strcmp
(
feat
,
"eap"
))
8
return
1
;
9
#endif
10
#ifdef IEEE80211N
11
if
(!
strcmp
(
feat
,
"11n"
))
12
return
1
;
13
#endif
14
return
0
;
15
}
16
17
#endif
/* BUILD_FEATURES_H */