public inbox for b43-dev@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ssb-pcmcia: Fix parsing of invariants tuples
@ 2011-02-04 22:34 Michael Büsch
  2011-02-04 22:55 ` Rafał Miłecki
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Büsch @ 2011-02-04 22:34 UTC (permalink / raw)
  To: John Linville, linux-wireless, b43-dev; +Cc: dylan cristiani, Dominik Brodowski

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 at kernel.org

---


Index: wireless-testing/drivers/ssb/pcmcia.c
===================================================================
--- wireless-testing.orig/drivers/ssb/pcmcia.c	2010-12-30 15:49:39.000000000 +0100
+++ wireless-testing/drivers/ssb/pcmcia.c	2011-02-04 23:29:37.000000000 +0100
@@ -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;
 

-- 
Greetings Michael.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-04 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 22:34 [PATCH] ssb-pcmcia: Fix parsing of invariants tuples Michael Büsch
2011-02-04 22:55 ` Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox