Re: [linux-usb-devel] [BUG] usb/core/hub.c loops forever on resume from ram due to bluetooth

Alan Stern
2007-05-03T13:33:27Z

On Wed, 2 May 2007, Mark Lord wrote:

> Alan Stern wrote:
> >
> > A better approach would be to find out why your system gets into that loop
> > and fix the underlying cause.
>
> Not better, just parallel.
>
> That loop should not be unbounded, as this example proves.
> But it also shouldn't get stuck there regardless.
>
> Two fixes needed.

If the code never gets stuck in a loop, then there's no need to check
whether the loop is unbounded! :-)

So only one fix needed.

Alan Stern