Alan Stern
62f9cfa3ec
USB: don't choose configs with no interfaces
...
This patch (as1372) fixes a bug in the routine that chooses the
default configuration to install when a new USB device is detected.
The algorithm is supposed to look for a config whose first interface
is for a non-vendor-specific class. But the way it's currently
written, it will also accept a config with no interfaces at all, which
is not very useful. (Believe it or not, such things do exist.)
Signed-off-by: Alan Stern <stern@rowland.harvard.edu >
Tested-by: Andrew Victor <avictor.za@gmail.com >
Cc: stable <stable@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-04-30 09:25:10 -07:00
..
2010-04-16 16:08:07 -04:00
2010-04-22 21:59:13 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:05:33 -07:00
2010-04-29 08:44:37 -07:00
2010-03-30 22:02:32 +09:00
2010-04-20 09:21:19 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:35:21 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:32 -08:00
2010-04-22 12:54:54 -07:00
2010-04-07 11:02:23 -07:00
2010-04-29 17:17:35 -07:00
2010-04-27 08:22:50 -07:00
2010-04-05 11:37:28 +09:00
2010-04-24 11:31:24 -07:00
2010-04-20 01:17:13 +01:00
2010-04-22 21:51:12 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:53:06 -07:00
2010-04-15 11:49:55 -07:00
2010-04-19 11:53:17 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 21:43:56 +09:30
2010-04-07 08:38:03 -07:00
2010-04-23 07:08:28 +10:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:26 -07:00
2010-04-07 08:38:03 -07:00
2010-04-28 07:56:05 -07:00
2010-04-28 12:18:27 -07:00
2010-03-30 22:02:32 +09:00
2010-04-05 11:37:28 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-29 17:16:36 -07:00
2010-04-26 20:09:07 +02:00
2010-04-23 15:23:21 -04:00
2010-04-06 17:06:22 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 15:24:34 +01:00
2010-04-07 08:38:05 -07:00
2010-04-22 08:43:59 -07:00
2010-03-30 22:02:32 +09:00
2010-04-22 11:11:02 -07:00
2010-04-29 17:17:35 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-12 17:26:14 +01:00
2010-04-22 07:20:00 -07:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-04-30 09:25:10 -07:00
2010-03-30 22:02:32 +09:00
2010-04-11 02:44:30 -07:00
2010-04-24 11:31:24 -07:00
2010-04-22 07:34:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:25 -07:00
2010-04-27 07:58:47 +00:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:28 -08:00
2010-03-08 20:21:04 +00:00