summaryrefslogtreecommitdiff
path: root/packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-04-28 19:06:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-28 19:06:59 +0000
commit989a3c578011cad60fc167cdb1b9a0e603f43072 (patch)
treeaef515b13e77cda22b30d75295f3aaef16d6c470 /packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch
parentd775757b77aba05c2766546682db2915b5cc12e1 (diff)
* add initial support for gumstix (xscale pxa255) platform (gumstix.com)
* add GMUstix distro for gumstix (GMU = George Mason University) * add linux-gumstix-2.6.15 with gumstix patchset * close bug #861
Diffstat (limited to 'packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch')
-rw-r--r--packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch b/packages/linux/linux-gumstix-2.6.15/bugfix-rndis.patch
new file mode 100644
index 0000000000..d51597f94b
--- /dev/null
+++ b/packages/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
+ }