From: Gábor Stefanik Date: Fri, 14 Aug 2009 12:11:53 +0000 (+0200) Subject: ssb: Fix typo in the rev8 SPROM extraction routine X-Git-Tag: v2.6.32-rc1~703^2~335^2~76 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=f0ea6ce14ae2a72a353ddf8ab370c09ba403d897 ssb: Fix typo in the rev8 SPROM extraction routine No comment. :-) Signed-off-by: Gábor Stefanik Signed-off-by: John W. Linville --- diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 593fc618a2ea..f853d5600ca7 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c @@ -480,7 +480,7 @@ static void sprom_extract_r8(struct ssb_sprom *out, const u16 *in) /* extract the MAC address */ for (i = 0; i < 3; i++) { - v = in[SPOFF(SSB_SPROM1_IL0MAC) + i]; + v = in[SPOFF(SSB_SPROM8_IL0MAC) + i]; *(((__be16 *)out->il0mac) + i) = cpu_to_be16(v); } SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0);