projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a06f1c
)
Handle telephony event registration failure
93/319193/1
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Wed, 5 Feb 2025 08:22:17 +0000
(17:22 +0900)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Wed, 5 Feb 2025 08:22:17 +0000
(17:22 +0900)
Change-Id: I1c0102cce9292cbca3f889a7aa0befcd89528f81
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
plugin/telephony/telephony.c
patch
|
blob
|
history
diff --git
a/plugin/telephony/telephony.c
b/plugin/telephony/telephony.c
index 0e89abbb2b014555cab2510c95d03efcb1ea1f51..278883d52044010789a67589aafb1457a65db843 100755
(executable)
--- a/
plugin/telephony/telephony.c
+++ b/
plugin/telephony/telephony.c
@@
-489,8
+489,12
@@
gboolean telephony_tapi_check_sim_state(void)
case TAPI_SIM_STATUS_SIM_NSCK_REQUIRED:
case TAPI_SIM_STATUS_SIM_SPCK_REQUIRED:
case TAPI_SIM_STATUS_SIM_CCK_REQUIRED:
- tel_register_noti_event(tapi_handle, TAPI_NOTI_SIM_STATUS,
+
ret =
tel_register_noti_event(tapi_handle, TAPI_NOTI_SIM_STATUS,
telephony_noti_sim_status_cb, NULL);
+ if (ret != TAPI_API_SUCCESS) {
+ ERR("event register failed(%d)", ret);
+ netconfig_tel_deinit();
+ }
return FALSE;
default:
ERR("not defined status(%d)", status);