mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
IBSS RSN: Do not start if not yet connected to IBSS
This is used to avoid starting IBSS RSN processing with a peer before the IBSS connection itself has been completed.
This commit is contained in:
parent
ee7ab173c7
commit
df41824501
@ -1637,6 +1637,8 @@ static void wpa_supplicant_event_ibss_rsn_start(struct wpa_supplicant *wpa_s,
|
||||
union wpa_event_data *data)
|
||||
{
|
||||
struct wpa_ssid *ssid;
|
||||
if (wpa_s->wpa_state < WPA_ASSOCIATED)
|
||||
return;
|
||||
if (data == NULL)
|
||||
return;
|
||||
ssid = wpa_s->current_ssid;
|
||||
|
Loading…
Reference in New Issue
Block a user