[Feature][T8TSK-136][AT]About synchronizing the upgrade of the at data module
Change-Id: I831939a09d0eff12b5c1e6e374e14da2b778eb3f
diff --git a/framework/lynq-ril-service/src/ril.cpp b/framework/lynq-ril-service/src/ril.cpp
index ffd80d8..12a9c99 100755
--- a/framework/lynq-ril-service/src/ril.cpp
+++ b/framework/lynq-ril-service/src/ril.cpp
@@ -6889,14 +6889,19 @@
} else {
pRI->pCI = find_mtk_command(request);
}
+ /*lei modify for Some requests that are not in the ril_commands.h and mtk_ril_commands.h but in commands.h*/
+ COMMAND *command = find_command(reqString);
if(pRI->pCI == NULL){
- RLOGE("pCI command not found!");
- if(pRI) {
- free(pRI);
+ if(command == NULL)
+ {
+ RLOGE("pCI command & command not found!");
+ if(pRI) {
+ free(pRI);
+ }
+ return;
}
- return;
}
-
+ /*lei modify for Some requests that are not in the ril_commands.h and mtk_ril_commands.h but in commands.h*/
if(utils::is_suppport_dsss()){
pRI->socket_id = (RIL_SOCKET_ID)Phone_utils::get_enable_sim_for_dsss();
}
@@ -6907,8 +6912,8 @@
pRI->p_next = NULL;
- COMMAND *command = find_command(reqString);
-
+
+ RLOGD("function %s line %d reqString %s", __FUNCTION__, __LINE__, reqString);
if(command == NULL) {
RLOGE("ATCI request command find error!");
if(pRI) {