Set current ssid when entering AP mode
After successful starting AP mode, current_ssid field is set to ssid used to create AP.
This commit is contained in:
parent
d43430d43d
commit
b2cc805619
1 changed files with 1 additions and 0 deletions
|
@ -469,6 +469,7 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wpa_s->current_ssid = ssid;
|
||||||
wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
|
wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue