c2dc8524e1ce22f716829c99f53a28c367fe5e78
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 0001-f_rndis-HACK-around-undefined-variables.patch
1 From d26b2d246668587049b1362a42c9b829f2ca288a Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Fri, 7 Oct 2011 15:29:28 +0200
4 Subject: [PATCH 01/21] f_rndis: HACK around undefined variables
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8 drivers/usb/gadget/f_rndis.c | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c
12 index 6614490..d2f1b6f 100644
13 --- a/drivers/usb/gadget/f_rndis.c
14 +++ b/drivers/usb/gadget/f_rndis.c
15 @@ -767,11 +767,11 @@ rndis_bind(struct usb_configuration *c, struct usb_function *f)
17 rndis_set_param_medium(rndis->config, NDIS_MEDIUM_802_3, 0);
18 rndis_set_host_mac(rndis->config, rndis->ethaddr);
19 -
20 +/*
21 if (rndis_set_param_vendor(rndis->config, vendorID,
22 manufacturer))
23 goto fail;
24 -
25 +*/
26 /* NOTE: all that is done without knowing or caring about
27 * the network link ... which is unavailable to this code
28 * until we're activated via set_alt().
29 --
30 1.7.7.4