aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface_udp.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-05-18 11:19:24 (GMT)
committerJouni Malinen <j@w1.fi>2013-05-18 11:19:24 (GMT)
commit47bfe49c31dbe58e03b4638c09360e68a10155f0 (patch)
tree9d787f0c5ea0e99318612c9362069c44540012f4 /wpa_supplicant/ctrl_iface_udp.c
parent214e428b422b1cecb62664942a978725eff7fd92 (diff)
downloadhostap-47bfe49c31dbe58e03b4638c09360e68a10155f0.zip
hostap-47bfe49c31dbe58e03b4638c09360e68a10155f0.tar.gz
hostap-47bfe49c31dbe58e03b4638c09360e68a10155f0.tar.bz2
Add wpa_msg_global() for global events
This function can be used instead of wpa_msg() and wpa_msg_ctrl() to indicate that an event is not specific to a network interface. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ctrl_iface_udp.c')
-rw-r--r--wpa_supplicant/ctrl_iface_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ctrl_iface_udp.c b/wpa_supplicant/ctrl_iface_udp.c
index 994f9b1..f3b660d 100644
--- a/wpa_supplicant/ctrl_iface_udp.c
+++ b/wpa_supplicant/ctrl_iface_udp.c
@@ -255,7 +255,7 @@ static void wpa_supplicant_ctrl_iface_receive(int sock, void *eloop_ctx,
}
-static void wpa_supplicant_ctrl_iface_msg_cb(void *ctx, int level,
+static void wpa_supplicant_ctrl_iface_msg_cb(void *ctx, int level, int global,
const char *txt, size_t len)
{
struct wpa_supplicant *wpa_s = ctx;