]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow hostapd config file for dynamically added interface
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 25 Sep 2013 16:07:29 +0000 (19:07 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 25 Sep 2013 16:07:29 +0000 (19:07 +0300)
commited1bf011da898b1f377bf15caa01398c72ee185d
tree636c5550838854330b1c1ad73a748e3ab7191cde
parent97bacf7cf6e649ffd73a6493bbdaa68f70a67471
Allow hostapd config file for dynamically added interface

This extends hostapd global control interface command "ADD" to use a
configuration file instead of requiring configuration to be built using
SET command.

The command format is now following:
ADD <ifname> <control path|config=<path to config>>

For example:

ADD wlan0 /var/run/hostapd
ADD wlan0 config=/tmp/hostapd.conf

When using the configuration file option, ctrl_interface parameter in
the file needs to be set to allow ENABLE command to be issued on the new
interface.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hostapd.c