mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 03:38:21 -05:00
SME: Remove null ie param from CTRL-EVENT-AUTH-REJECT
Clean up the event message by removing the ie=<value> parameter when the IEs are not available instead of printing out "ie=(null)". Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6dbfefb9b4
commit
5f11880f6a
@ -891,10 +891,11 @@ void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data)
|
||||
}
|
||||
}
|
||||
wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_AUTH_REJECT MACSTR
|
||||
" auth_type=%u auth_transaction=%u status_code=%u ie=%s",
|
||||
" auth_type=%u auth_transaction=%u status_code=%u%s%s",
|
||||
MAC2STR(data->auth.peer), data->auth.auth_type,
|
||||
data->auth.auth_transaction, data->auth.status_code,
|
||||
ie_txt);
|
||||
ie_txt ? " ie=" : "",
|
||||
ie_txt ? ie_txt : "");
|
||||
os_free(ie_txt);
|
||||
|
||||
if (data->auth.status_code !=
|
||||
|
Loading…
Reference in New Issue
Block a user