fix usb direct mac addr

This commit is contained in:
Alfonso Gamboa 2022-05-20 00:10:44 -07:00
parent 1b7cd9a60b
commit 8583700ee4

View File

@ -59,6 +59,7 @@ ENABLE_USB_STORAGE="false"
ENABLE_EXT4="false"
ENABLE_CIFS="false"
DISABLE_FW_UPGRADE="false"
SILENT_PROMPTS="false"
#####DEBUG#####
DEBUG_ENABLED="false"
@ -265,7 +266,7 @@ if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then
insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/libcomposite.ko
insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/u_ether.ko
insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/usb_f_ncm.ko
insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko iManufacturer=wz_mini_ncm host_addr=$USB_DIRECT_MAC_ADDR
insmod /opt/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko iManufacturer=wz_mini_ncm dev_addr=$USB_DIRECT_MAC_ADDR
sleep 1