mirror of https://github.com/hak5/openwrt-owl.git
35 lines
988 B
Diff
35 lines
988 B
Diff
From 00f10ad5e63625961028479e4814953ff443dfff Mon Sep 17 00:00:00 2001
|
|
From: mokopatches <mokopatches@openmoko.org>
|
|
Date: Fri, 4 Apr 2008 11:32:51 +0100
|
|
Subject: [PATCH] g_ether-highpower.patch
|
|
|
|
---
|
|
drivers/usb/gadget/ether.c | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
|
|
index 9e732bf..a7f38b6 100644
|
|
--- a/drivers/usb/gadget/ether.c
|
|
+++ b/drivers/usb/gadget/ether.c
|
|
@@ -464,7 +464,7 @@ eth_config = {
|
|
.bConfigurationValue = DEV_CONFIG_VALUE,
|
|
.iConfiguration = STRING_CDC,
|
|
.bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
|
|
- .bMaxPower = 50,
|
|
+ .bMaxPower = 250,
|
|
};
|
|
|
|
#ifdef CONFIG_USB_ETH_RNDIS
|
|
@@ -478,7 +478,7 @@ rndis_config = {
|
|
.bConfigurationValue = DEV_RNDIS_CONFIG_VALUE,
|
|
.iConfiguration = STRING_RNDIS,
|
|
.bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
|
|
- .bMaxPower = 50,
|
|
+ .bMaxPower = 250,
|
|
};
|
|
#endif
|
|
|
|
--
|
|
1.5.6.5
|
|
|