net/farsync: add
Subsystems (3)
PATCH 13/38 net/farsync: add
Any comments would be appreciated.
Description: Insert set_current_state() before schedule_timeout() so the function delays as expected. Without the addition, schedule_timeout() will return immediately.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/wan/farsync.c +1 -0
@@ -975,6 +975,7 @@ fst_issue_cmd(struct fst_port_info *port/* Wait for any previous command to complete */ while (mbval >NAK ) {spin_unlock_irqrestore (&card->card_lock, flags); +set_current_state (TASK_UNINTERRUPTIBLE );schedule_timeout (1 );spin_lock_irqsave (&card->card_lock, flags);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors