1.修复多次启用usb net

This commit is contained in:
payton 2023-07-21 18:06:19 +08:00
parent 8a79e0d880
commit 31a08bdb6f

View File

@ -1283,8 +1283,6 @@ static SINT32 app_Register_Net_startup_mode(SF_FN_PARAM_S *pfnParam) {
printf("[%s:%d]re open ftps fail, reconnect\n", __FUNCTION__, __LINE__); printf("[%s:%d]re open ftps fail, reconnect\n", __FUNCTION__, __LINE__);
} }
} }
sf_4G_usb_net_apn_cfg(pfnParam);
sf_USB_net_init();
} }
sf_4G_usb_net_apn_cfg(pfnParam); sf_4G_usb_net_apn_cfg(pfnParam);
sf_USB_net_init(); sf_USB_net_init();