USB: fix errornous assumption in the usb serial framework revealed by iuu_phoenix
commit5adceac5da3d353dd1318d0482cab94a79472adf
authorOliver Neukum <oliver@neukum.org>
Fri, 17 Aug 2007 12:01:38 +0000 (17 14:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:25 +0000 (12 14:55 -0700)
tree37a05deba01fafa4e8cde7963cc7d556f84fd95a
parentb5b80f2b20c833f979060cf48ae3ee6fbfa552be
USB: fix errornous assumption in the usb serial framework revealed by iuu_phoenix

the iuu_phoenix driver submits another URB from a completion handler.
This dictates a certain order of calls to usb_kill_urb() in kill_traffic().
As other drivers may do it the other way round, we need to use both
orders in kill_traffic().
This patch does so and should be merged before iuu_phoenix is merged.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c