[ar71xx] remove duplicated includes
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1121-fix-usb-ethernet-mwester.patch.patch
1 From 2c96fcfe5037e1078c24f824a0c84050cf54532b Mon Sep 17 00:00:00 2001
2 From: Mike Wester <mwester@dis.net>
3 Date: Sun, 13 Apr 2008 07:25:56 +0100
4 Subject: [PATCH] fix-usb-ethernet-mwester.patch
5
6 This is a kernel bug affecting all platforms, introduced in some code cleanup in
7 2.6.23. Patch will be posted as soon as I test it.
8
9 NOTE: Do not submit upstream; this patch or something very similar is already
10 in process for 2.6.25.
11 ---
12 drivers/usb/gadget/ether.c | 1 +
13 1 files changed, 1 insertions(+), 0 deletions(-)
14
15 diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
16 index 6efbb44..758fd27 100644
17 --- a/drivers/usb/gadget/ether.c
18 +++ b/drivers/usb/gadget/ether.c
19 @@ -1558,6 +1558,7 @@ done_set_intf:
20 memcpy(req->buf, buf, n);
21 req->complete = rndis_response_complete;
22 rndis_free_response(dev->rndis_config, buf);
23 + value = n;
24 }
25 /* else stalls ... spec says to avoid that */
26 }
27 --
28 1.5.6.5
29
This page took 0.043853 seconds and 5 git commands to generate.