Skip to content

Commit

Permalink
MIPS: BCM47XX: read sprom without prefix if no ieee80211 core
Browse files Browse the repository at this point in the history
If there is no ieee80211 core on the devices like on the BCM4706 read
out the sprom and the other data without using a prefix.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4361
Signed-off-by: John Crispin <blogic@openwrt.org>
  • Loading branch information
Hauke Mehrtens authored and John Crispin committed Nov 9, 2012
1 parent 5d24cea commit 2c37631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/bcm47xx/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ static int bcm47xx_get_sprom_bcma(struct bcma_bus *bus, struct ssb_sprom *out)
snprintf(prefix, sizeof(prefix), "sb/%u/",
core->core_index);
bcm47xx_fill_sprom(out, prefix);
} else {
bcm47xx_fill_sprom(out, NULL);
}
return 0;
default:
Expand Down

0 comments on commit 2c37631

Please sign in to comment.