diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2016-10-05 17:42:47 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-15 11:36:51 +0200 |
commit | 58cf9a2476e75b40e7e300d5f833e65f82875409 (patch) | |
tree | fa6155ac3a878da42555f5545c5bcf7d86a4f460 /package/network/services/hostapd/patches/420-indicate-features.patch | |
parent | 7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7 (diff) | |
download | mtk-20170518-58cf9a2476e75b40e7e300d5f833e65f82875409.zip mtk-20170518-58cf9a2476e75b40e7e300d5f833e65f82875409.tar.gz mtk-20170518-58cf9a2476e75b40e7e300d5f833e65f82875409.tar.bz2 |
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.patch | 20 |
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 335e71e..8abeafc 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 */ |