init.qcom.usb.sh: Add support for msm8992
Perform target-specific USB initialization for MSM8992, which is similar to MSM8994. Change-Id: I8a00bd66b2307dcdec3aadb9ae8e12d61ac2f886
This commit is contained in:
parent
89134671ab
commit
c655598742
|
@ -128,7 +128,7 @@ case "$usb_config" in
|
|||
"msm8916")
|
||||
setprop persist.sys.usb.config diag,serial_smd,rmnet_bam,adb
|
||||
;;
|
||||
"msm8994")
|
||||
"msm8994" | "msm8992")
|
||||
if [ "$soc_hwplatform" == "Dragon" ]; then
|
||||
setprop persist.sys.usb.config diag,adb
|
||||
else
|
||||
|
@ -170,7 +170,7 @@ case "$target" in
|
|||
fi
|
||||
fi
|
||||
;;
|
||||
"msm8994")
|
||||
"msm8994" | "msm8992")
|
||||
echo BAM2BAM_IPA > /sys/class/android_usb/android0/f_rndis_qc/rndis_transports
|
||||
echo 1 > /sys/class/android_usb/android0/f_rndis_qc/max_pkt_per_xfer # Disable RNDIS UL aggregation
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue