aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/420-indicate-features.patch
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2016-10-05 17:42:47 +0300
committerJohn Crispin <john@phrozen.org>2016-10-15 11:36:51 +0200
commit58cf9a2476e75b40e7e300d5f833e65f82875409 (patch)
treefa6155ac3a878da42555f5545c5bcf7d86a4f460 /package/network/services/hostapd/patches/420-indicate-features.patch
parent7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7 (diff)
downloadupstream-58cf9a2476e75b40e7e300d5f833e65f82875409.tar.gz
upstream-58cf9a2476e75b40e7e300d5f833e65f82875409.tar.bz2
upstream-58cf9a2476e75b40e7e300d5f833e65f82875409.zip
network/services/hostapd: move whole files outside of patches and drop Build/Prepare rule in favor of default one
This more of a demo for the previous commit that comes with this one, where I added support for copying source from 'src' to the build dir(s). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'package/network/services/hostapd/patches/420-indicate-features.patch')
-rw-r--r--package/network/services/hostapd/patches/420-indicate-features.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/network/services/hostapd/patches/420-indicate-features.patch b/package/network/services/hostapd/patches/420-indicate-features.patch
index 335e71eb51..8abeafcace 100644
--- a/package/network/services/hostapd/patches/420-indicate-features.patch
+++ b/package/network/services/hostapd/patches/420-indicate-features.patch
@@ -60,23 +60,3 @@
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 */