projects
/
platform
/
core
/
api
/
wifi-aware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54a20e
)
Reset client_id after disable gdbus call
author
Cheoleun Moon
<chleun.moon@samsung.com>
Thu, 19 Mar 2020 04:45:33 +0000
(13:45 +0900)
committer
Cheoleun Moon
<chleun.moon@samsung.com>
Thu, 19 Mar 2020 04:45:33 +0000
(13:45 +0900)
src/wifi-aware-private.c
patch
|
blob
|
history
diff --git
a/src/wifi-aware-private.c
b/src/wifi-aware-private.c
index
d3ca0d1
..
b5ab9ef
100644
(file)
--- a/
src/wifi-aware-private.c
+++ b/
src/wifi-aware-private.c
@@
-517,8
+517,9
@@
int _wifi_aware_is_enabled()
int _wifi_aware_disable_request()
{
+ int ret = wifi_aware_gdbus_disable(g_wifi_aware->client_id);
g_wifi_aware->client_id = 0;
- return
wifi_aware_gdbus_disable(g_wifi_aware->client_id)
;
+ return
ret
;
}
int _wifi_aware_session_handle_create(wifi_aware_session_type_e session_type,