ap_scan=1 is not stored after calling "wpa_cli save"

Jouni Malinen j
Thu Feb 26 07:02:22 PST 2015


On Thu, Feb 26, 2015 at 03:55:31PM +0100, Bartlomiej Grzeskowiak wrote:
> #cat /etc/wlan/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> ap_scan=1
> update_config=1
> 2. #wpa_cli save
> 3. #cat /mnt/persistence/network/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> update_config=1

> Is it correct behavior ?

Yes, the configuration parameters with the default value are not saved.
In other words, when reading either of these two example files, the end
result of parsing will be identical.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list