mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Nov 2015 12:00:36 +0000 (12:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Nov 2015 12:00:36 +0000 (12:00 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47371

package/kernel/mac80211/patches/002-change_allconfig.patch

index 65154eee15e479572fb81e8af99b2e5d795d0394..bd5bebfa450061b4f46eb0c6c3c7ad04946a766f 100644 (file)
                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