summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 22:52:00 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 22:52:00 +0530
commit236c2b4391771af3eef2e4c2ec65375aab0e6137 (patch)
treef5de53a08c3d9f533cf8a55e3b8224ce188423fe
parentf651132629aaa9af3f29ee9276bf421ff1aa7660 (diff)
downloadconnman-236c2b4391771af3eef2e4c2ec65375aab0e6137.tar.gz
connman-236c2b4391771af3eef2e4c2ec65375aab0e6137.tar.bz2
connman-236c2b4391771af3eef2e4c2ec65375aab0e6137.zip
[SPIN] wispr: cellular service does not make portal detection.
Change-Id: If897ee6e8d102f1b960bdc088543a942b47f6fc6 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-xsrc/wispr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wispr.c b/src/wispr.c
index ef4bdaba..330aa1d4 100755
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -926,6 +926,11 @@ int __connman_wispr_start(struct connman_service *service,
DBG("service %p", service);
+#if defined TIZEN_EXT
+ if (connman_service_get_type(service) == CONNMAN_SERVICE_TYPE_CELLULAR)
+ return -EPERM;
+#endif
+
if (!wispr_portal_list)
return -EINVAL;