[PATCH] Make scan_freq field to be saved by save_config

Jouni Malinen j
Mon Sep 23 06:24:49 PDT 2013


On Thu, Sep 12, 2013 at 07:01:25PM +0900, Masashi Honma wrote:
> This patch makes scan_freq field to be saved by save_config.

Thanks, I applied this part.

> And if set_freq field without any value exists in a network block,
> 
> set_freq=
> 
> it causes error from nl80211. So I made a check for this error also.

I don't think that this should be specific to driver_nl80211.c. Instead,
I changed configuration parser to clear the current list on empty string
and as such, "scan_freq=" does not set the internal integer list to an
empty list anymore.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list