diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | 614683faf8029100802db06a825648d0b6490285 (patch) | |
tree | 7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch | |
parent | 4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff) | |
download | master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.gz master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.bz2 master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.zip |
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch new file mode 100644 index 0000000000..3bf5bc78fd --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch @@ -0,0 +1,29 @@ +From 2c96fcfe5037e1078c24f824a0c84050cf54532b Mon Sep 17 00:00:00 2001 +From: Mike Wester <mwester@dis.net> +Date: Sun, 13 Apr 2008 07:25:56 +0100 +Subject: [PATCH] fix-usb-ethernet-mwester.patch + +This is a kernel bug affecting all platforms, introduced in some code cleanup in +2.6.23. Patch will be posted as soon as I test it. + +NOTE: Do not submit upstream; this patch or something very similar is already +in process for 2.6.25. +--- + drivers/usb/gadget/ether.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c +index 6efbb44..758fd27 100644 +--- a/drivers/usb/gadget/ether.c ++++ b/drivers/usb/gadget/ether.c +@@ -1558,6 +1558,7 @@ done_set_intf: + memcpy(req->buf, buf, n); + req->complete = rndis_response_complete; + rndis_free_response(dev->rndis_config, buf); ++ value = n; + } + /* else stalls ... spec says to avoid that */ + } +-- +1.5.6.5 + |