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

From: Dominik Brodowski (linux@brodo.de)
Date: Sun Feb 23 2003 - 14:52:07 EST


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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:39 EST