Skip to contentSkip to conversation

pcmcia: cs.c bugfix (Russell King)

PATCH New Dominik Brodowski 1 participant 1 message Feb 23, 2003 Pcmcia

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcmcia: cs.c bugfix (Russell King)

A small bugfix to pcmcia's cs.c - without it, we end up inquiring the same socket all the time.

Please apply,
Dominik

drivers/pcmcia/cs.c +1 -1
diff -ruN linux-original/drivers/pcmcia/cs.c linux/drivers/pcmcia/cs.c
@@ -360,7 +360,7 @@
 		if (j == sockets) sockets++;
 
 		init_socket(s);
-		s->ss_entry->inquire_socket(i, &s->cap);
+		s->ss_entry->inquire_socket(s->sock, &s->cap);
 #ifdef CONFIG_PROC_FS
 		if (proc_pccard) {
 			char name[3];