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:51:07 +0900 |
commit | a49d97e9195b58a7b8bab4f3af0ea0ca5ec158b2 (patch) | |
tree | e1a149f8fc5d3783a56ee1f470971e9dd82aeee9 /src | |
parent | e2224351c2934d63d8e944b69e572a99db209919 (diff) | |
download | connman-accepted/tizen/common/20161227.192253.tar.gz connman-accepted/tizen/common/20161227.192253.tar.bz2 connman-accepted/tizen/common/20161227.192253.zip |
Fix to check favorit value into servicesubmit/tizen/20161226.070156accepted/tizen/wearable/20161226.131929accepted/tizen/tv/20161226.131907accepted/tizen/mobile/20161226.131853accepted/tizen/ivi/20161226.131948accepted/tizen/common/20161227.192253
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>
Diffstat (limited to 'src')
-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); |