stop deauthentications only on M3 and M4 (and PMKID)
@@ -2894,8 +2894,7 @@ for(zeiger = aplist; zeiger < aplist +MACLIST_MAX -1; zeiger++)
}
if((zeiger->count %zeiger->dpv) == 0)
{
- if((zeiger->status & NET_PMKID) == NET_PMKID) return;
- if((zeiger->status & NET_M3) == NET_M3) return;
+ if(zeiger->status >= NET_M3 + NET_M4) return;
{
if((attackstatus &DISABLE_AP_ATTACKS) != DISABLE_AP_ATTACKS) send_deauthentication_broadcast(macfrx->addr2, WLAN_REASON_UNSPECIFIED);
}
@@ -2970,8 +2969,7 @@ for(zeiger = aplist; zeiger < aplist +MACLIST_MAX -1; zeiger++)
}
if((zeiger->count %zeiger->dpv) == 0)
{
- if((zeiger->status & NET_PMKID) == NET_PMKID) return;
- if((zeiger->status & NET_M3) == NET_M3) return;
+ if(zeiger->status >= NET_M3 + NET_M4) return;
{
if((attackstatus &DISABLE_AP_ATTACKS) != DISABLE_AP_ATTACKS) send_deauthentication_broadcast(macfrx->addr2, WLAN_REASON_UNSPECIFIED);
}
