[Bug 45542] Re: linux-image-2.6.15-23-686 freezes when using irda

Philip Axer 45542 at bugs.launchpad.net
Tue May 23 09:12:08 UTC 2006


Hi,
in drivers/net/irda/sir_kthread.c line 133:

                 prepare_to_wait(&irda_rq_queue.kick, &wait, TASK_INTERRUPTIBLE); 
                 if (list_empty(&irda_rq_queue.request_list))
                        schedule_timeout(HZ/10);
                else
                        __set_task_state(current, TASK_RUNNING);
                finish_wait(&irda_rq_queue.kick, &wait);

I'm not a kernel expert, but what's doing the else branch? Is it still
necessary after changing to  prepare_to_wait in -23?

-- 
linux-image-2.6.15-23-686 freezes when using irda
https://launchpad.net/bugs/45542




More information about the kernel-bugs mailing list