projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65668bf
)
hostapd: Do not call eloop_terminate() on interface setup failure
author
Jouni Malinen
<j@w1.fi>
Fri, 25 Dec 2009 09:51:20 +0000
(11:51 +0200)
committer
Jouni Malinen
<j@w1.fi>
Fri, 25 Dec 2009 09:51:20 +0000
(11:51 +0200)
The caller is able to handle the error code properly and there is no
need to forcefully stop the eloop run here.
hostapd/hostapd.c
patch
|
blob
|
history
diff --git
a/hostapd/hostapd.c
b/hostapd/hostapd.c
index
15efd50
..
7a6ca41
100644
(file)
--- a/
hostapd/hostapd.c
+++ b/
hostapd/hostapd.c
@@
-1348,9
+1348,8
@@
int hostapd_setup_interface(struct hostapd_iface *iface)
ret = setup_interface(iface);
if (ret) {
- wpa_printf(MSG_
DEBUG
, "%s: Unable to setup interface.",
+ wpa_printf(MSG_
ERROR
, "%s: Unable to setup interface.",
iface->bss[0]->conf->iface);
- eloop_terminate();
return -1;
}