mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-06 12:14:04 -05:00
Fixed build without CONFIG_CLIENT_MLME
This commit is contained in:
parent
ec5f180a24
commit
147bdb3f9c
@ -453,9 +453,11 @@ static void wpa_driver_test_mlme(struct wpa_driver_test_data *drv,
|
|||||||
socklen_t fromlen,
|
socklen_t fromlen,
|
||||||
const u8 *data, size_t data_len)
|
const u8 *data, size_t data_len)
|
||||||
{
|
{
|
||||||
|
#ifdef CONFIG_CLIENT_MLME
|
||||||
struct ieee80211_rx_status rx_status;
|
struct ieee80211_rx_status rx_status;
|
||||||
os_memset(&rx_status, 0, sizeof(rx_status));
|
os_memset(&rx_status, 0, sizeof(rx_status));
|
||||||
wpa_supplicant_sta_rx(drv->ctx, data, data_len, &rx_status);
|
wpa_supplicant_sta_rx(drv->ctx, data, data_len, &rx_status);
|
||||||
|
#endif /* CONFIG_CLIENT_MLME */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user