projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46aaba
)
ssb: Fix typo in the rev8 SPROM extraction routine
author
Gábor Stefanik
<netrolller.3d@gmail.com>
Fri, 14 Aug 2009 12:11:53 +0000
(14:11 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:53 +0000
(11:35 -0400)
No comment. :-)
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c
patch
|
blob
|
history
diff --git
a/drivers/ssb/pci.c
b/drivers/ssb/pci.c
index
593fc61
..
f853d56
100644
(file)
--- 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_SPROM
1
_IL0MAC) + i];
+ v = in[SPOFF(SSB_SPROM
8
_IL0MAC) + i];
*(((__be16 *)out->il0mac) + i) = cpu_to_be16(v);
}
SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0);