69d034ccaf3c9bef4a1d3c289a5e8dc94148ff1e
[openwrt.git] / target / linux / brcm47xx / patches-3.3 / 194-MIPS-BCM47XX-read-sprom-without-prefix-if-no-ieee802.patch
1 --- a/arch/mips/bcm47xx/setup.c
2 +++ b/arch/mips/bcm47xx/setup.c
3 @@ -258,6 +258,8 @@ static int bcm47xx_get_sprom_bcma(struct
4                         snprintf(prefix, sizeof(prefix), "sb/%u/",
5                                  core->core_index);
6                         bcm47xx_fill_sprom(out, prefix);
7 +               } else {
8 +                       bcm47xx_fill_sprom(out, NULL);
9                 }
10                 return 0;
11         default: