init.hikey.usb.rc: fix to bring down tethering interface
Rndis (tethering) n/w interface, usb0, registration/deregistration is
broken. If a user try to switch to other functions or disable usb
tethering or unplug the usb cable then it doesn't kill "usb0" interface.
Clean registration and deregistration can be done by creating the rndis
function when user enable the tethering from Settings application
instead of creating it "on boot", and deleting the function when we
switch to other function or disable tethering or unplug the cable.
Relevent fix, Change-Id: If1f922e02277cccdc8c0b263be63989ee102cc80, to
create and delete RNDIS function, on need basis, is moved to
init.usb.configfs.rc
Change-Id: Icb49020d624fb21ef2607d473948cbbf3b9cc469
Reported-by: Winter Wang <wente.wang@nxp.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
1 file changed