summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index 808931a8..6000b6d9 100644
--- a/src/session.c
+++ b/src/session.c
@@ -1756,8 +1756,16 @@ static bool session_match_service(struct connman_session *session,
service_type = connman_service_get_type(service);
ifname = connman_service_get_interface(service);
+
+#if defined TIZEN_EXT
+ if (bearer_type == current_service_type) {
+ g_free(ifname);
+ return false;
+ }
+#else
if (bearer_type == current_service_type)
return false;
+#endif
if (bearer_type == service_type &&
(session->info->config.allowed_interface == NULL ||