diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-03 12:00:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-03 12:00:36 +0000 |
commit | 327454eb943590d3e752b45ae1281db6427e4e7a (patch) | |
tree | 7d519c78f86403a85dd1a747d28c6b2447835766 /package/kernel/mac80211/patches | |
parent | e8fcdfc66d7fec65604029781679a83050a6cb8e (diff) | |
download | master-187ad058-327454eb943590d3e752b45ae1281db6427e4e7a.tar.gz master-187ad058-327454eb943590d3e752b45ae1281db6427e4e7a.tar.bz2 master-187ad058-327454eb943590d3e752b45ae1281db6427e4e7a.zip |
mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47371 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches')
-rw-r--r-- | package/kernel/mac80211/patches/002-change_allconfig.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/002-change_allconfig.patch b/package/kernel/mac80211/patches/002-change_allconfig.patch index 65154eee15..bd5bebfa45 100644 --- a/package/kernel/mac80211/patches/002-change_allconfig.patch +++ b/package/kernel/mac80211/patches/002-change_allconfig.patch @@ -42,3 +42,23 @@ break; default: break; +--- a/kconf/confdata.c ++++ b/kconf/confdata.c +@@ -1169,6 +1169,8 @@ bool conf_set_all_new_symbols(enum conf_ + } + bool has_changed = false; + ++ sym_clear_all_valid(); ++ + for_all_symbols(i, sym) { + if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID)) + continue; +@@ -1212,8 +1214,6 @@ bool conf_set_all_new_symbols(enum conf_ + + } + +- sym_clear_all_valid(); +- + /* + * We have different type of choice blocks. + * If curr.tri equals to mod then we can select several |