diff --git a/package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch b/package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch index b7d6aec29a..e7551c3a70 100644 --- a/package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch +++ b/package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch @@ -24,8 +24,8 @@ Signed-off-by: Rafał Miłecki + { "JP", "JP", 78 }, + { "US", "Q2", 86 }, + }; -+ struct brcmfmac_pd_cc_entry *cc_ent; -+ int table_size; ++ struct brcmfmac_pd_cc_entry *cc_ent = NULL; ++ int table_size = 0; + + if (of_machine_is_compatible("netgear,r8000")) { + cc_ent = netgear_r8000_cc_ent;