diff options
Diffstat (limited to 'recipes/linux/linux-gumstix-2.6.15/bugfix-rndis.patch')
-rw-r--r-- | recipes/linux/linux-gumstix-2.6.15/bugfix-rndis.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/linux/linux-gumstix-2.6.15/bugfix-rndis.patch b/recipes/linux/linux-gumstix-2.6.15/bugfix-rndis.patch new file mode 100644 index 0000000000..d51597f94b --- /dev/null +++ b/recipes/linux/linux-gumstix-2.6.15/bugfix-rndis.patch @@ -0,0 +1,14 @@ +Index: linux-2.6.15gum/drivers/usb/gadget/ether.c +=================================================================== +--- linux-2.6.15gum.orig/drivers/usb/gadget/ether.c ++++ linux-2.6.15gum/drivers/usb/gadget/ether.c +@@ -2328,7 +2328,9 @@ autoconf_fail: + #ifdef DEV_CONFIG_CDC + /* pxa25x only does CDC subset; often used with RNDIS */ + } else if (cdc) { ++#ifdef DEV_CONFIG_CDC + control_intf.bNumEndpoints = 0; ++#endif + /* FIXME remove endpoint from descriptor list */ + #endif + } |