mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
wpa_supplicant: Save frequency configuration parameter
In case of wpa_supplicant IBSS and AP modes after we will call wpa_cli save command we should also save configured frequency. In other case after wpa_supplicant restart we have frequency = 0 and AP start will fail. Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
parent
9bb1025a2e
commit
bca06366a9
@ -678,6 +678,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
|
||||
INT_DEFe(fragment_size, DEFAULT_FRAGMENT_SIZE);
|
||||
#endif /* IEEE8021X_EAPOL */
|
||||
INT(mode);
|
||||
INT(frequency);
|
||||
write_int(f, "proactive_key_caching", ssid->proactive_key_caching, -1);
|
||||
INT(disabled);
|
||||
INT(peerkey);
|
||||
|
Loading…
Reference in New Issue
Block a user