mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Fix: Loop in driver selection routine
Increment an index variable not 'i' but 'j'. (this was broken yesterday by a cleanup change 3067ac2bb82553c99cb84e32ede82de434ee1070)
This commit is contained in:
parent
d3a9822542
commit
871bb568d2
@ -1461,7 +1461,7 @@ struct hostapd_config * hostapd_config_read(const char *fname)
|
||||
int j;
|
||||
/* clear to get error below if setting is invalid */
|
||||
conf->driver = NULL;
|
||||
for (j = 0; hostapd_drivers[j]; i++) {
|
||||
for (j = 0; hostapd_drivers[j]; j++) {
|
||||
if (os_strcmp(pos, hostapd_drivers[j]->name) ==
|
||||
0) {
|
||||
conf->driver = hostapd_drivers[j];
|
||||
|
Loading…
x
Reference in New Issue
Block a user