From 42619d68a6adb9e272ed95e7fa6b99462868eb53 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 2 Jul 2014 13:09:00 +0300 Subject: [PATCH] Fix CTRL-EVENT-REGDOM-CHANGE event init= value Incorrect field was used to determine the init= in the regulatory domain changed control interface event. Signed-off-by: Jouni Malinen --- wpa_supplicant/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index b74e12d4f..4e84f6e63 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2756,7 +2756,7 @@ static void wpa_supplicant_update_channel_list( struct wpa_supplicant *ifs; wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_REGDOM_CHANGE "init=%s type=%s%s%s", - reg_init_str(info->type), reg_type_str(info->type), + reg_init_str(info->initiator), reg_type_str(info->type), info->alpha2[0] ? " alpha2=" : "", info->alpha2[0] ? info->alpha2 : "");