patch-2.3.46 linux/drivers/net/pcmcia/wavelan_cs.c

Next file: linux/drivers/net/pcmcia/xirc2ps_cs.c
Previous file: linux/drivers/net/pcmcia/smc91c92_cs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/drivers/net/pcmcia/wavelan_cs.c linux/drivers/net/pcmcia/wavelan_cs.c
@@ -4663,6 +4663,7 @@
 	  {
 	    /* Accept no more transmissions */
       	    netif_stop_queue (dev);
+	    clear_bit(LINK_STATE_START, &dev->state);
 
 	    /* Release the card */
 	    wv_pcmcia_release((u_long) link);
@@ -4701,6 +4702,7 @@
       	    if(link->open)
 	      {
 	      	netif_stop_queue (dev);
+		clear_bit(LINK_STATE_START, &dev->state);
 	      }
       	    CardServices(ReleaseConfiguration, link->handle);
 	  }
@@ -4716,6 +4718,7 @@
       	    if(link->open)	/* If RESET -> True, If RESUME -> False ??? */
 	      {
 		wv_hw_reset(dev);
+		set_bit(LINK_STATE_START, &dev->state);
 		netif_start_queue (dev);
 	      }
 	  }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)