Skip to contentSkip to conversation

wireless/orinoco_plx: replace

PATCH Nishanth Aravamudan 2 participants 2 messages Jul 27, 2004 – Jul 30, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Nishanth Aravamudan

I would appreciate any comments from the janitors list.

Sorry, wrong patch attached. Please find the correct one below.

-Nish

drivers/net/wireless/orinoco_plx.c +1 -2
@@ -344,8 +344,7 @@ static int __init orinoco_plx_init(void)
 extern void __exit orinoco_plx_exit(void)
 {
 	pci_unregister_driver(&orinoco_plx_driver);
-	current->state = TASK_UNINTERRUPTIBLE;
-	schedule_timeout(HZ);
+	msleep(1000);
 }
 
 module_init(orinoco_plx_init);

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

[Kernel-janitors] Re: [PATCH] wireless/orinoco_tmd: replace

Quoted 6 lines · Nishanth Aravamudan

I would appreciate any comments from the janitors list.

Applys-to: 2.6.7

Description: Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time.

I've merged these changes into the orinoco CVS tree, so there won't be conflicts as I merge with mainline.

Signature · 4 lines
David Gibson			| For every complex problem there is a
david AT gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors