[PATCH] Fix for interface names parameter ignores subsequent parameters
j at w1.fi
Sat Nov 19 12:26:22 PST 2016
On Mon, Nov 07, 2016 at 01:43:36PM -0500, Sam Tannous wrote:
> When using -i to specify one or more comma separated interfaces
> (that all use the same config file), we also need to change
> the loop parameters (interface.count) so that all the interfaces get
> initialized. Also, we need to make sure that all the
> calls are made with the same config filename.
> This patch fixes hostapd/main.c to correct the interface count
> and use of the one config file in the interface initialization call.
I don't think this is the way this argument was supposed to work. In
other words, it is more flexible and allows some interfaces to use
different configuration files as needed. In any case, there would need
to be a configuration file listed for each interface on the command line
even if they were to be the same file for more than one interface. For
hostapd -i wlan0,wlan1,wlan2 a.conf b.conf a.conf
This would use a.conf configuration file for both wlan0 and wlan2 while
b.conf is used for wlan1.
Jouni Malinen PGP id EFC895FA
More information about the Hostap