Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] USB: resolve Zaurus problem

This "obvious" one-liner is needed to recognize Zaurus SL 6000;
it just checks two GUIDs not just one.

OSDL bugids #4512 and #4545 seem to be duplicates of this report.

From: Gerald Skerbitz <gsker@tcfreenet.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

David Brownell and committed by
Linus Torvalds
f4d340cf 39a66b8d

+1 -1
+1 -1
drivers/usb/net/usbnet.c
··· 2765 2765 } 2766 2766 /* expect bcdVersion 1.0, ignore */ 2767 2767 if (memcmp(&desc->bGUID, blan_guid, 16) 2768 - && memcmp(&desc->bGUID, blan_guid, 16) ) { 2768 + && memcmp(&desc->bGUID, safe_guid, 16) ) { 2769 2769 /* hey, this one might _really_ be MDLM! */ 2770 2770 dev_dbg (&intf->dev, "MDLM guid\n"); 2771 2771 goto bad_desc;