From b19a683c36c18cd7b2b665d43ebfe813eb64835a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 28 Sep 2015 11:32:26 -0500 Subject: [PATCH] wiphy: Rename function --- src/wiphy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index 35500a00..b0038944 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -789,7 +789,7 @@ static struct l_dbus_message *device_get_networks(struct l_dbus *dbus, return reply; } -static void genl_disconnect_cb(struct l_genl_msg *msg, void *user_data) +static void device_disconnect_cb(struct l_genl_msg *msg, void *user_data) { struct netdev *netdev = user_data; struct l_dbus_message *reply; @@ -833,7 +833,7 @@ static struct l_dbus_message *device_disconnect(struct l_dbus *dbus, msg_append_attr(msg, NL80211_ATTR_REASON_CODE, 2, &reason_code); msg_append_attr(msg, NL80211_ATTR_MAC, ETH_ALEN, netdev->connected_bss->addr); - l_genl_family_send(nl80211, msg, genl_disconnect_cb, netdev, NULL); + l_genl_family_send(nl80211, msg, device_disconnect_cb, netdev, NULL); netdev_enter_state(netdev, NETDEV_STATE_DISCONNECTING);