usbgadget: fix wrong path when stopping the gadget function

Signed-off-by: user131 <c.branchereau@accenture.com>
This commit is contained in:
user131 2024-03-20 11:33:48 +01:00 committed by sydarn
parent bc88190396
commit cd4e73ece6

View file

@ -81,7 +81,7 @@ usb_stop() {
umount /dev/ffs-umtp
rmdir /dev/ffs-umtp
rm -f mtp/configs/c.1/ffs.mtp \
rm -f gadget/configs/c.1/ffs.mtp \
gadget/configs/c.1/ecm.usb0 \
rmdir gadget/configs/c.1/strings/0x409 \