mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix autoscan exponential to start with the base value
Initial implementation used base^2 as the starting value. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1aea2ca325
commit
ccea4eb3e8
@ -86,8 +86,8 @@ static int autoscan_exponential_notify_scan(void *priv,
|
||||
|
||||
if (data->interval <= 0)
|
||||
data->interval = data->base;
|
||||
|
||||
data->interval = data->interval * data->base;
|
||||
else
|
||||
data->interval = data->interval * data->base;
|
||||
|
||||
return data->interval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user