USB: serial: keyspan: fix URB unlink
authorJohan Hovold <johan@kernel.org>
Sun, 8 May 2016 18:07:59 +0000 (20:07 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 10 May 2016 07:39:49 +0000 (09:39 +0200)
commit61924505ae0037527879446b36ac27c60210bc77
treed12df7d6b3b66109e174736e7ab1db152df07df9
parent35be1a71d70775e7bd7e45fa6d2897342ff4c9d2
USB: serial: keyspan: fix URB unlink

A driver must not rely on the URB status field to try to determine if an
URB is active.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan.c