Fix hostapd wpa_msg() calls ctx for wpa_supplicant AP mode
Need to use wpa_s pointer, not hapd pointer, for these calls.
This commit is contained in:
parent
acfbf1f5d7
commit
4f760fcc7c
4 changed files with 10 additions and 5 deletions
|
@ -462,6 +462,8 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
|
|||
wpa_supplicant_ap_deinit(wpa_s);
|
||||
return -1;
|
||||
}
|
||||
|
||||
hapd_iface->bss[i]->msg_ctx = wpa_s;
|
||||
}
|
||||
|
||||
if (hostapd_setup_interface(wpa_s->ap_iface)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue