From: Jouni Malinen Date: Wed, 2 Jul 2014 10:09:00 +0000 (+0300) Subject: Fix CTRL-EVENT-REGDOM-CHANGE event init= value X-Git-Tag: hostap_2_3~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42619d68a6adb9e272ed95e7fa6b99462868eb53;p=thirdparty%2Fhostap.git 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 --- 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 : "");