aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ssb/pci.c')
-rw-r--r--drivers/ssb/pci.c2
1 files changed, 1 insertions, 1 deletions
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)
480 480
481 /* extract the MAC address */ 481 /* extract the MAC address */
482 for (i = 0; i < 3; i++) { 482 for (i = 0; i < 3; i++) {
483 v = in[SPOFF(SSB_SPROM1_IL0MAC) + i]; 483 v = in[SPOFF(SSB_SPROM8_IL0MAC) + i];
484 *(((__be16 *)out->il0mac) + i) = cpu_to_be16(v); 484 *(((__be16 *)out->il0mac) + i) = cpu_to_be16(v);
485 } 485 }
486 SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0); 486 SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0);