Fix CTRL-EVENT-REGDOM-CHANGE event init= value

Incorrect field was used to determine the init=<value> in the regulatory
domain changed control interface event.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-07-02 13:09:00 +03:00 committed by Jouni Malinen
parent a520bf4aeb
commit 42619d68a6

View file

@ -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 : "");