From 20e17ce7b915b8ba15c5ade9d5aa8aa214a4fc74 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 9 Dec 2021 11:57:44 +0100 Subject: [PATCH] Version bump --- app-mobilephone/usb-tethering/files/usb-tethering | 6 ++++++ .../{usb-tethering-0.1.ebuild => usb-tethering-0.2.ebuild} | 0 2 files changed, 6 insertions(+) rename app-mobilephone/usb-tethering/{usb-tethering-0.1.ebuild => usb-tethering-0.2.ebuild} (100%) diff --git a/app-mobilephone/usb-tethering/files/usb-tethering b/app-mobilephone/usb-tethering/files/usb-tethering index aaa63eb..b4b434e 100644 --- a/app-mobilephone/usb-tethering/files/usb-tethering +++ b/app-mobilephone/usb-tethering/files/usb-tethering @@ -46,6 +46,12 @@ setup_usb_network_configfs() { # Create rndis function. The function can be named differently in downstream kernels. mkdir $CONFIGFS/g1/functions/"$usb_rndis_function" \ || echo " Couldn't create $CONFIGFS/g1/functions/$usb_rndis_function" + # https://github.com/RobertCNelson/boot-scripts/commit/714e162ba98cf3d2897e7fc95e951c6df15a7d0a + if [ -f $CONFIGFS/g1/functions/"$usb_rndis_function"/class ]; then + echo EF > $CONFIGFS/g1/functions/"$usb_rndis_function"/class + echo 04 > $CONFIGFS/g1/functions/"$usb_rndis_function"/subclass + echo 01 > $CONFIGFS/g1/functions/"$usb_rndis_function"/protocol + fi || echo "$CONFIGFS/g1/functions/$usb_rndis_function/class not found" # Create configuration instance for the gadget mkdir $CONFIGFS/g1/configs/c.1 \ diff --git a/app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild b/app-mobilephone/usb-tethering/usb-tethering-0.2.ebuild similarity index 100% rename from app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild rename to app-mobilephone/usb-tethering/usb-tethering-0.2.ebuild