net/islpci_mgt: add
Subsystems (2)
PATCH 18/38 net/islpci_mgt: add
Any comments would be appreciated.
Description: Insert set_current_state() before schedule_timeout() so the task delays as expected. In the current code, prepare_to_wait() takes care of this problem for the first iteration of the while-loop, but on subsequent iterations, schedule_timeout() will return immediately.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/wireless/prism54/islpci_mgt.c +1 -0
@@ -473,6 +473,7 @@ islpci_mgt_transaction(struct net_deviceint timeleft;struct islpci_mgmtframe *frame; +set_current_state (TASK_UNINTERRUPTIBLE ); timeleft =schedule_timeout (wait_cycle_jiffies); frame =xchg (&priv->mgmt_received,NULL );if (frame) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors