Files
device_google_wahoo/usb/UsbGadget.cpp
raychi a56fdd593c Do not enable the funcion when it is not in list
rndis and rmnet cannot co-exist in QCOM spec and
cause ramdump. Besides, enabling functions with
the wrong PID may cause it cannot install proper
PC driver on Windows. A better way is to not allow
enabling the function which is not in support list.

Bug: 130733202
Test: enable tethering with/without rmnet enabled
Signed-off-by: raychi <raychi@google.com>

(cherry picked from commit 79ef1d2d35f3e00ce8ab98ff4a3430af579a5419
and fix merge conflict)

Change-Id: Ia50058f498c5b99ff58251fd7064963ccdbdd940
2019-05-17 17:53:59 +08:00

22 KiB