diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-15 20:14:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-15 20:14:06 +0000 |
commit | 5ca4d24cd1043e142515ac66c44a26a2371978d3 (patch) | |
tree | f7411ae4df9fed440179fab0be52e2f1640544ed /package/mac80211/patches/002-change_allconfig.patch | |
parent | d3a7b5633c7c1ea142cb8c0872cab484ca385c92 (diff) | |
download | upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.tar.gz upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.tar.bz2 upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.zip |
mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36939
Diffstat (limited to 'package/mac80211/patches/002-change_allconfig.patch')
-rw-r--r-- | package/mac80211/patches/002-change_allconfig.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/mac80211/patches/002-change_allconfig.patch b/package/mac80211/patches/002-change_allconfig.patch new file mode 100644 index 0000000000..91ad20f06d --- /dev/null +++ b/package/mac80211/patches/002-change_allconfig.patch @@ -0,0 +1,44 @@ +--- a/kconf/conf.c ++++ b/kconf/conf.c +@@ -578,40 +578,12 @@ int main(int ac, char **av) + case oldconfig: + case listnewconfig: + case olddefconfig: +- conf_read(NULL); +- break; + case allnoconfig: + case allyesconfig: + case allmodconfig: + case alldefconfig: + case randconfig: +- name = getenv("KCONFIG_ALLCONFIG"); +- if (!name) +- break; +- if ((strcmp(name, "") != 0) && (strcmp(name, "1") != 0)) { +- if (conf_read_simple(name, S_DEF_USER)) { +- fprintf(stderr, +- _("*** Can't read seed configuration \"%s\"!\n"), +- name); +- exit(1); +- } +- break; +- } +- switch (input_mode) { +- case allnoconfig: name = "allno.config"; break; +- case allyesconfig: name = "allyes.config"; break; +- case allmodconfig: name = "allmod.config"; break; +- case alldefconfig: name = "alldef.config"; break; +- case randconfig: name = "allrandom.config"; break; +- default: break; +- } +- if (conf_read_simple(name, S_DEF_USER) && +- conf_read_simple("all.config", S_DEF_USER)) { +- fprintf(stderr, +- _("*** KCONFIG_ALLCONFIG set, but no \"%s\" or \"all.config\" file found\n"), +- name); +- exit(1); +- } ++ conf_read(NULL); + break; + default: + break; |