Merge f91a9cf67b195d88d4c8dd117a609e5298dd8b92 on remote branch
Change-Id: Ie1fff1d014f053316d33a4b6cfa3ffdef8c91ba1
diff --git a/etc/init.qcom.usb.rc b/etc/init.qcom.usb.rc
index 647fe94..8225ccc 100644
--- a/etc/init.qcom.usb.rc
+++ b/etc/init.qcom.usb.rc
@@ -95,6 +95,9 @@
write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1
write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100"
write /config/usb_gadget/g1/functions/diag.diag/serial ${ro.serialno}
+ write /config/usb_gadget/g1/functions/rndis.rndis/class ef
+ write /config/usb_gadget/g1/functions/rndis.rndis/subclass 04
+ write /config/usb_gadget/g1/functions/rndis.rndis/protocol 01
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
mkdir /dev/usb-ffs 0775 shell system
mkdir /dev/usb-ffs/adb 0770 shell system