Skip to content

Commit

Permalink
ssb-pcmcia: Fix parsing of invariants tuples
Browse files Browse the repository at this point in the history
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 <d.cristiani@idem-tech.it>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Büsch authored and linvjw committed Feb 7, 2011
1 parent 9cf04dc commit dd3cb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ssb/pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit dd3cb63

Please sign in to comment.