diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-12-26 14:37:16 +0900 |
---|---|---|
committer | hyunuktak <hyunuk.tak@samsung.com> | 2016-12-26 14:37:22 +0900 |
commit | 97d882d9b7a5bb5e47e4391ce8731cffe152c81d (patch) | |
tree | d389e95230646e269d1827f9e7b884edb2c101b5 | |
parent | d59aac876619d50aa254899abaea2df78dcbb935 (diff) | |
download | connman-97d882d9b7a5bb5e47e4391ce8731cffe152c81d.tar.gz connman-97d882d9b7a5bb5e47e4391ce8731cffe152c81d.tar.bz2 connman-97d882d9b7a5bb5e47e4391ce8731cffe152c81d.zip |
Fix to check favorit value into servicesubmit/tizen_3.0/20161226.070114submit/tizen_3.0.m2/20170104.093752accepted/tizen/3.0/wearable/20161227.010411accepted/tizen/3.0/tv/20161227.010354accepted/tizen/3.0/mobile/20161227.010335accepted/tizen/3.0/ivi/20161227.010429accepted/tizen/3.0/common/20161227.102026accepted/tizen/3.0.m2/wearable/20170105.024531accepted/tizen/3.0.m2/tv/20170105.024229accepted/tizen/3.0.m2/mobile/20170105.023950accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
When AP's status is changed(ex, password),
favorite value is setted to false.
so it is returning false as not supported
with checking favorite and state of service
when remove profile mothod is called.
it should remove service profile
whether it is favorite or not,
when it's called explicit.
Change-Id: I6b59729c7c2614b9f25f56696463f4ac927f6809
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-x | src/service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index 34a37a7b..001c1f82 100755 --- a/src/service.c +++ b/src/service.c @@ -4789,9 +4789,11 @@ bool __connman_service_remove(struct connman_service *service) __connman_provider_is_immutable(service->provider)) return false; +#if !defined TIZEN_EXT if (!service->favorite && service->state != CONNMAN_SERVICE_STATE_FAILURE) return false; +#endif __connman_service_disconnect(service); |