patch-2.3.16 linux/drivers/net/cosa.c

Next file: linux/drivers/net/cycx_drv.c
Previous file: linux/drivers/net/bmac.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/net/cosa.c linux/drivers/net/cosa.c
@@ -1560,7 +1560,6 @@
 		/* sleep if not ready to read */
 		current->state = TASK_INTERRUPTIBLE;
 		schedule_timeout(1);
-		current->state = TASK_RUNNING;
 	}
 	printk(KERN_INFO "cosa: timeout in get_wait_data (status 0x%x)\n",
 		cosa_getstatus(cosa));
@@ -1588,7 +1587,6 @@
 		/* sleep if not ready to read */
 		current->state = TASK_INTERRUPTIBLE;
 		schedule_timeout(1);
-		current->state = TASK_RUNNING;
 #endif
 	}
 	printk(KERN_INFO "cosa%d: timeout in put_wait_data (status 0x%x)\n",

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