blob: ffbb7978d9e0d6e7c58f1c0cd6e3a3f041cb9f25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef BUILD_FEATURES_H
#define BUILD_FEATURES_H
static inline int has_feature(const char *feat)
{
#ifdef IEEE8021X_EAPOL
if (!strcmp(feat, "eap"))
return 1;
#endif
#ifdef IEEE80211N
if (!strcmp(feat, "11n"))
return 1;
#endif
return 0;
}
#endif /* BUILD_FEATURES_H */
|