From 33826b1847732ad43c5c6db7b2d53cb851d874a8 Mon Sep 17 00:00:00 2001 From: Yu Jiung Date: Tue, 16 Feb 2016 14:27:54 +0900 Subject: [PATCH] Modify parameter name for InvitaionRequest signal Change-Id: I64e2075a01251fa40d2b55998e12466d72ab518f Signed-off-by: Yu jiung --- packaging/wifi-direct-manager.spec | 2 +- plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/wifi-direct-manager.spec b/packaging/wifi-direct-manager.spec index 1188e40..0f451f3 100755 --- a/packaging/wifi-direct-manager.spec +++ b/packaging/wifi-direct-manager.spec @@ -1,6 +1,6 @@ Name: wifi-direct-manager Summary: Wi-Fi Direct manger -Version: 1.2.132 +Version: 1.2.133 Release: 1 Group: Network & Connectivity/Wireless License: Apache-2.0 diff --git a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c index 9d7dd02..bb6c18d 100755 --- a/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c +++ b/plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c @@ -762,7 +762,7 @@ void __ws_extract_invitation_details(const char *key, GVariant *value, void *use if (__ws_unpack_ay(invitation->sa, value, WS_MACADDR_LEN)) WDP_LOGD("SA [" MACSTR "]", MAC2STR(invitation->sa)); - } else if (g_strcmp0(key, "go_dev_add") == 0) { + } else if (g_strcmp0(key, "go_dev_addr") == 0) { if (__ws_unpack_ay(invitation->go_dev_addr, value, WS_MACADDR_LEN)) WDP_LOGD("GO device address [" MACSTR "]", MAC2STR(invitation->go_dev_addr)); @@ -774,9 +774,9 @@ void __ws_extract_invitation_details(const char *key, GVariant *value, void *use g_variant_get(value, "i", &(invitation->persistent_id)); WDP_LOGD("persistent id [%d]", invitation->persistent_id); - } else if (g_strcmp0(key, "oper_freq") == 0) { + } else if (g_strcmp0(key, "op_freq") == 0) { g_variant_get(value, "i", &(invitation->oper_freq)); - WDP_LOGD("oper freq [%d]", invitation->oper_freq); + WDP_LOGD("op freq [%d]", invitation->oper_freq); } else { WDP_LOGE("Unknown value"); } -- 2.7.4