[PATCH] USB gadget: drain rndis response queue on disconnect
authorDavid Brownell <david-b@pacbell.net>
Wed, 25 May 2005 00:51:52 +0000 (17:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:44:00 +0000 (14:44 -0700)
commit486e2df6ce213d0c776befdf3fe5ffc61dd61688
tree70a345f23a4745ec02e82f0228c879914b29451e
parent45e45ab45c266642276d01e56d9fb5dccbfad960
[PATCH] USB gadget: drain rndis response queue on disconnect

Drain the rndis response queue on disconnect.  This fixes a problem
in which an rndis response left in the queue from a previous session
could cause a subsequent session to fail.

Signed-off-by: Andy Lowe <alowe@mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/rndis.c