mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Show an error message if sending of Action frame fails
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
236a52fd1f
commit
41fe8b42b5
@ -1351,7 +1351,10 @@ static void handle_action(struct hostapd_data *hapd,
|
||||
os_memcpy(resp->bssid, hapd->own_addr, ETH_ALEN);
|
||||
resp->u.action.category |= 0x80;
|
||||
|
||||
hostapd_drv_send_mlme(hapd, resp, len, 0);
|
||||
if (hostapd_drv_send_mlme(hapd, resp, len, 0) < 0) {
|
||||
wpa_printf(MSG_ERROR, "IEEE 802.11: Failed to send "
|
||||
"Action frame");
|
||||
}
|
||||
os_free(resp);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user