mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 01:10:39 -05:00
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: [email protected] Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
9cf04dcc9c
commit
dd3cb63307
1 changed files with 1 additions and 1 deletions
|
|
@ -733,7 +733,7 @@ int ssb_pcmcia_get_invariants(struct ssb_bus *bus,
|
|||
|
||||
/* 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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue