ssb-pcmcia: Fix parsing of invariants tuples
PATCH 1/1 ssb-pcmcia: Fix parsing of invariants tuples
This fixes parsing of the device invariants (MAC address) for PCMCIA SSB devices.
ssb_pcmcia_do_get_invariants expects an iv pointer as data argument.
Tested-by dylan cristiani <[email protected]>
Signed-off-by Michael Buesch <[email protected]>
Cc stable at kernel.org
---
drivers/ssb/pcmcia.c +1 -1
@@ -733,7 +733,7 @@ int ssb_pcmcia_get_invariants(struct ssb/* Fetch the vendor specific tuples. */ res =pcmcia_loop_tuple (bus->host_pcmcia,SSB_PCMCIA_CIS , - ssb_pcmcia_do_get_invariants, sprom); + ssb_pcmcia_do_get_invariants, iv);if ((res ==0 ) || (res == -ENOSPC ))return 0 ;
Signature · 1 line
Greetings Michael.
PATCH 1/1 ssb-pcmcia: Fix parsing of invariants tuples
2011/2/4 Michael B?sch <[email protected]>:
Quoted 9 lines
This fixes parsing of the device invariants (MAC address) for PCMCIA SSB devices.
ssb_pcmcia_do_get_invariantsexpects an iv pointer as data argument.Tested-by dylan cristiani <[email protected]>Signed-off-by Michael Buesch <[email protected]>Cc stable at kernel.org
For stable: it's regression in 2.6.33. AFAIU there is no need to apply that for 2.6.32.
Signature · 1 line
Rafa?