From c4e0b508bcdd1af6b1b3c317042336936173591f Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Tue, 27 Jul 2010 11:28:42 -0400 Subject: [PATCH] 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 Tested-by: Adam Kropelin Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed