projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1e492
)
WPS ER: Stop AP unlink loop on match
author
Jouni Malinen
<j@w1.fi>
Sat, 21 Nov 2009 10:18:24 +0000
(12:18 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 21 Nov 2009 10:18:24 +0000
(12:18 +0200)
There is no need to continue through the list after this, since the
same AP entry can only be listed once.
src/wps/wps_er.c
patch
|
blob
|
history
diff --git
a/src/wps/wps_er.c
b/src/wps/wps_er.c
index
898f936
..
301e416
100644
(file)
--- a/
src/wps/wps_er.c
+++ b/
src/wps/wps_er.c
@@
-299,6
+299,7
@@
static void wps_er_ap_unlink(struct wps_er *er, struct wps_er_ap *ap)
prev->next = ap->next;
else
er->ap = ap->next;
+ return;
}
prev = tmp;
tmp = tmp->next;