Am Montag, 29. November 2004 19:07 schrieb Alan Stern:
> On Mon, 29 Nov 2004, Oliver Neukum wrote:
>
> > Am Montag, 29. November 2004 18:20 schrieb Alan Stern:
> > +
> > + /* don't allow the user to unbind the hub driver from
> > + * a hub with children to manage */
>
On Mon, 29 Nov 2004, Oliver Neukum wrote:
> Am Montag, 29. November 2004 18:20 schrieb Alan Stern:
> +
> + /* don't allow the user to unbind the hub driver from
> + * a hub with children to manage */
> + for (i = 0; i < ps->dev->maxchild; ++i) {
> +
Am Montag, 29. November 2004 18:20 schrieb Alan Stern:
> +
> + /* don't allow the user to unbind the hub driver from
> + * a hub with children to manage */
> + for (i = 0; i < ps->dev->maxchild; ++i) {
> + if (ps->dev->children[i])
>
Greg:
This patch adds several relatively minor bug fixes and code
simplifications for the hub driver.
Perhaps most significantly, a test is added to usbfs to prevent
users from unbinding the hub driver from a hub with children.
That could cause some bad headaches, and it'