diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-07-27 17:28:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 23:35:43 +0200 |
commit | c4e0b508bcdd1af6b1b3c317042336936173591f (patch) | |
tree | f1467854b42e6c171aac7dbe31b0dd864dc09722 /drivers/usb/serial/ftdi_sio.c | |
parent | USB: option: add huawei k3765 k4505 devices to work properly (diff) | |
download | linux-c4e0b508bcdd1af6b1b3c317042336936173591f.tar.xz linux-c4e0b508bcdd1af6b1b3c317042336936173591f.zip |
USB: accept RNDIS configs if there's no alternative
This patch (as1410) makes a slight change to the strategy used for
choosing a default configuration. Currently we skip configs whose
first interface is RNDIS, if the kernel wasn't built with the
corresponding driver. This risks losing access to the other
interfaces in those configs. In addition, if there is only one config
then we will end up not configuring the device at all.
This changes the logic; now such configurations will be skipped only
if there is at least one other config.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Adam Kropelin <akropel1@rochester.rr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
0 files changed, 0 insertions, 0 deletions