[Bugfix]Fixed the issue that the request execution failed after a while of booting without USB plugged in.
Only Configure: No
Affected branch: master
Affected module: ril
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Iffe9cf9dbc0ae8671b360fe2e5ed7810424a1bb1
diff --git a/ap/os/linux/linux-3.4.x/drivers/usb/gadget/u_serial.c b/ap/os/linux/linux-3.4.x/drivers/usb/gadget/u_serial.c
index 461af0a..09507a5 100644
--- a/ap/os/linux/linux-3.4.x/drivers/usb/gadget/u_serial.c
+++ b/ap/os/linux/linux-3.4.x/drivers/usb/gadget/u_serial.c
@@ -152,9 +152,9 @@
} ports[N_PORTS];
static unsigned n_ports;
static int inform_state = 0;
-
-#define GS_CLOSE_TIMEOUT 15 /* seconds */
-
+//xf.li@20240719 modify for youwei get_sim_status slowly start
+#define GS_CLOSE_TIMEOUT 1 /* seconds */
+//xf.li@20240719 modify for youwei get_sim_status slowly end
#ifdef VERBOSE_DEBUG
#define pr_vdebug(fmt, arg...) \