projects
/
wpasupplicant
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a9822
)
Fix: Loop in driver selection routine
author
Masashi Honma
<honma@ictec.co.jp>
Fri, 27 Mar 2009 08:49:47 +0000
(10:49 +0200)
committer
Jouni Malinen
<j@w1.fi>
Fri, 27 Mar 2009 08:49:47 +0000
(10:49 +0200)
Increment an index variable not 'i' but 'j'.
(this was broken yesterday by a cleanup change
3067ac2bb82553c99cb84e32ede82de434ee1070
)
hostapd/config.c
patch
|
blob
|
history
diff --git
a/hostapd/config.c
b/hostapd/config.c
index
0f1d451
..
b64d4e0
100644
(file)
--- a/
hostapd/config.c
+++ b/
hostapd/config.c
@@
-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];