hostapd: Accept interface names as a command line parameter
authorTim Kourt <tim.a.kourt@linux.intel.com>
Fri, 10 Jun 2016 18:04:25 +0000 (11:04 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 12 Jun 2016 22:16:20 +0000 (01:16 +0300)
commit40f6282aed0e2e0fe766904cafd7bec4138d7f3f
tree476c7dd4db547e1ca48bfd55a89beec730fb8cc1
parentcc27c8e68001aaa28599bf9e91025540d492efb8
hostapd: Accept interface names as a command line parameter

This introduces an optinal command line parameter '-i' to override the
value of the 'interface' attribute in hostapd.conf files. This change
enables the reuse of the configuration files for the concurrent
instances of hostapd. An ability to dynamically assign the interface
names simplifies the usages of hostapd service in the automated
emulations of the wireless environments.

Signed-off-by: Tim Kourt <tim.a.kourt@linux.intel.com>
hostapd/main.c