Commit dd3cb633078fb12e06ce6cebbdfbf55a7562e929

Authored by Michael Büsch
Committed by John W. Linville
1 parent 9cf04dcc9c

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 <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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/ssb/pcmcia.c
... ... @@ -733,7 +733,7 @@
733 733  
734 734 /* Fetch the vendor specific tuples. */
735 735 res = pcmcia_loop_tuple(bus->host_pcmcia, SSB_PCMCIA_CIS,
736   - ssb_pcmcia_do_get_invariants, sprom);
  736 + ssb_pcmcia_do_get_invariants, iv);
737 737 if ((res == 0) || (res == -ENOSPC))
738 738 return 0;
739 739