[SPIN] wispr: cellular service does not make portal detection. 06/73806/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 9 Jun 2016 17:22:00 +0000 (22:52 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 9 Jun 2016 17:22:00 +0000 (22:52 +0530)
Change-Id: If897ee6e8d102f1b960bdc088543a942b47f6fc6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/wispr.c

index ef4bdab..330aa1d 100755 (executable)
@@ -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;