commit | b618090ac2865be2bf7c28f41d44b807799a50c9 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Wed Jul 02 18:48:23 2025 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Wed Jul 02 18:48:23 2025 +0800 |
tree | 3b167eaac6436f4d521abf13ef98d9f42b9b8954 | |
parent | d3784efaf7727a1ac9714c74f25bfd8acaaf9622 [diff] |
Fix rild at_get_cme_error bug. Change-Id: I7ee0bee5e071d16709217c5408cee053d27dd63c
diff --git a/mbtk/mbtk_rild_v2/src/atchannel.c b/mbtk/mbtk_rild_v2/src/atchannel.c index 54313d0..3a69ad9 100755 --- a/mbtk/mbtk_rild_v2/src/atchannel.c +++ b/mbtk/mbtk_rild_v2/src/atchannel.c
@@ -1313,6 +1313,11 @@ int err; char *p_cur; + if (p_response == NULL) + { + return CME_ERROR_NON_CME; + } + if (p_response->success > 0) { return CME_SUCCESS;