projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0971c5
)
Do not call driver_init if hostapd interface is not yet configured
author
Shan Palanisamy
<shanp@qca.qualcomm.com>
Thu, 16 Feb 2012 17:43:48 +0000
(19:43 +0200)
committer
Jouni Malinen
<j@w1.fi>
Thu, 16 Feb 2012 17:43:48 +0000
(19:43 +0200)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/main.c
patch
|
blob
|
history
diff --git
a/hostapd/main.c
b/hostapd/main.c
index
b0903cf
..
2748c61
100644
(file)
--- a/
hostapd/main.c
+++ b/
hostapd/main.c
@@
-339,10
+339,12
@@
hostapd_interface_init(struct hapd_interfaces *interfaces,
iface->bss[0]->conf->logger_stdout_level--;
}
- if (hostapd_driver_init(iface) ||
- hostapd_setup_interface(iface)) {
- hostapd_interface_deinit_free(iface);
- return NULL;
+ if (iface->conf->bss[0].iface[0] != 0) {
+ if (hostapd_driver_init(iface) ||
+ hostapd_setup_interface(iface)) {
+ hostapd_interface_deinit_free(iface);
+ return NULL;
+ }
}
return iface;