I've attached a patch which changes some of the time-outs for enabling the CPU and uploading firmware to the wireless adapter. This seems to make things better on my N150, but doesn't 100% resolve the problem.
I've added more debug to the driver as well. Maybe that will help track down the issue.
It looks like the driver queues up a bunch of packets to send the firmware to a CPU on the wireless adapter. And then it polls the adapter to see if it's ready. I set the firmware-loading time-out to 10 seconds at one point, but it still seemed to fail. It seems like there is a race between firmware set-up and something else in the driver.
I've attached a patch which changes some of the time-outs for enabling the CPU and uploading firmware to the wireless adapter. This seems to make things better on my N150, but doesn't 100% resolve the problem.
I've added more debug to the driver as well. Maybe that will help track down the issue.
It looks like the driver queues up a bunch of packets to send the firmware to a CPU on the wireless adapter. And then it polls the adapter to see if it's ready. I set the firmware-loading time-out to 10 seconds at one point, but it still seemed to fail. It seems like there is a race between firmware set-up and something else in the driver.