Page 1 of 1

wpad bug

Posted: Fri Oct 22, 2010 7:46 am
by miigotu
I have an issue where I cannot init/scan wpads and then disconnect inside a loop for a sustained period. I spoke with someone about this in #wiidev and It was suggested that i needed to call USB_Deinitialize(); before initializing the pads again. This has no effect for me. I have a sample app below with console and gecko output every step of the way.

After some long debugging after the dump pointed me to the lwp_queue I enabled lwp debug messages but couldnt find the problem unfortunately. I'm assuming a thread may become orphaned?

Please see the attachment and possibly if this is not a bug then please instruct me how I can make this scenario work. Thanks.

Re: wpad bug

Posted: Mon Oct 25, 2010 12:58 am
by miigotu
scratch this, I found the bug and submitted a patch to Tantric.