summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora-nijhara <a.nijhara@samsung.com>2024-08-13 09:27:45 +0530
committera-nijhara <a.nijhara@samsung.com>2024-08-13 09:36:23 +0530
commit717e71314c62a8a4b916d7987cb8c13a312100e4 (patch)
tree9fdac55eef5612245c0e798df8655f2e3035b4da
parent89643b075008482569fbb00418c3b34c3132bb88 (diff)
downloadwifi-aware-717e71314c62a8a4b916d7987cb8c13a312100e4.tar.gz
wifi-aware-717e71314c62a8a4b916d7987cb8c13a312100e4.tar.bz2
wifi-aware-717e71314c62a8a4b916d7987cb8c13a312100e4.zip
Rectify passing user data as NULL in cb
Change-Id: Idf707035bc84c4c6d2edaa0fc48376cb17910e0d
-rw-r--r--src/wifi-aware-private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi-aware-private.c b/src/wifi-aware-private.c
index fa313c3..9f82e96 100644
--- a/src/wifi-aware-private.c
+++ b/src/wifi-aware-private.c
@@ -298,8 +298,8 @@ static void __wifi_aware_publish_invoke_callback(wifi_aware_session_h session,
if (handle->published_cb) {
wifi_aware_published_cb published_cb = handle->published_cb;
handle->published_cb = NULL;
- handle->published_cb_data = NULL;
published_cb(session, error, handle->published_cb_data);
+ handle->published_cb_data = NULL;
}
}