[PATCH] pcmcia: cs.c bugfix (Russell King)

Dominik Brodowski (linux@brodo.de)
Sun, 23 Feb 2003 20:52:07 +0100


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

Please apply,
Dominik

diff -ruN linux-original/drivers/pcmcia/cs.c linux/drivers/pcmcia/cs.c
--- linux-original/drivers/pcmcia/cs.c 2003-02-23 20:49:56.000000000 +0100
+++ linux/drivers/pcmcia/cs.c 2003-02-23 13:12:23.000000000 +0100
@@ -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];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/