[Feature][ZXW-285]merge P56U05 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Ied657102425a179a89ef41847170152e8a5d437c
diff --git a/ap/lib/libatext/ext_amt_func.c b/ap/lib/libatext/ext_amt_func.c
index 569856a..57e3211 100755
--- a/ap/lib/libatext/ext_amt_func.c
+++ b/ap/lib/libatext/ext_amt_func.c
@@ -28,6 +28,8 @@
*/
#include "ext_regist.h"
+#include "drv_msg.h"
+
#include "at_com.h"
#include <unistd.h>
#include <sys/syscall.h>
@@ -1911,7 +1913,13 @@
}
nv_commit(NV_RO);
-
+#ifdef USE_CAP_SUPPORT
+ if((iUsbMode>= 0) && (iUsbMode<= 3)){
+ iUsbMode += 3;
+ ipc_send_message2(MODULE_ID_HOTPLUG, MODULE_ID_USBHOTPLUG, MSG_CMD_DRV_USB_CHANGE,
+ sizeof(iUsbMode), &iUsbMode, 0);
+ }
+#endif
at_print(AT_DEBUG,"zmodeSet_act_func:retCode == %d\n", retCode);
if (retCode == 0)
{