USB: option.c: correct DTR behaviour
authorChris Collins <chris@ursys.com.au>
Thu, 10 Apr 2008 08:15:53 +0000 (10:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:51 +0000 (21:16 -0700)
commit5f760040bcb4cc0498d4c662c4ea305290198ef3
treeb47db322de6c6903b5201d7e6645a6bc1c54f911
parente6a79f1f07fc88a2efd6d0e8f0ccf591cb93cd34
USB: option.c: correct DTR behaviour

Setting DTR et al. should work for all interfaces
if you actually pass the interface number. :-P

This should help with devices that have important pseudo-serial ports
that aren't on the first interface in the device.

Signed-off-by: Chris Collins <chris@ursys.com.au>
Signed-off-by: Matthias Urlichs <matthias@urlichs.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c