network/services/hostapd: move whole files outside of patches and drop Build/Prepare...
[openwrt/staging/chunkeey.git] / package / network / services / hostapd / patches / 420-indicate-features.patch
index 335e71eb519851305f813b4aa95ca5239b7e46f9..8abeafcaceaff21c38cf3dc067ecd63d32a719f7 100644 (file)
                        goto out;
                case 'W':
                        params.wait_for_monitor++;
---- /dev/null
-+++ b/src/utils/build_features.h
-@@ -0,0 +1,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 */