P2P: Immediate group removal in GC in case of deauthentication
Right now in case of deauthentication from GO, immediate group removal will
happen in GC only if the deauthentication packet has a valid IE. However,
the IE in deauthentication packet is mandated only for managed P2P group.
So in normal P2P group the group removal is delayed and will happen later
only in group idle timeout.
This fixes a regression from commit
d7df0fa727
that changed the previous check
for data->deauth_info != NULL to data->deauth_info->ie != NULL.
Signed-hostap: Sreenath Sharma <sreenats@broadcom.com>
This commit is contained in:
parent
fcf20528a0
commit
43ee470494
1 changed files with 1 additions and 1 deletions
|
@ -2473,7 +2473,7 @@ static void wpas_event_disconnect(struct wpa_supplicant *wpa_s, const u8 *addr,
|
|||
wpas_auth_failed(wpa_s);
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
if (deauth && ie && ie_len > 0) {
|
||||
if (deauth && reason_code > 0) {
|
||||
if (wpas_p2p_deauth_notif(wpa_s, addr, reason_code, ie, ie_len,
|
||||
locally_generated) > 0) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue