aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-29 11:24:42 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-29 11:24:42 (GMT)
commit0ecff8d7c306d68d891c9e015e26a78dd150f64a (patch)
tree1f59a63a12e10565d82d78099ea310c5d8d2f982 /hostapd/config_file.c
parentebd557288c80dff6c37a326209f746fa4369ea73 (diff)
downloadhostap-0ecff8d7c306d68d891c9e015e26a78dd150f64a.zip
hostap-0ecff8d7c306d68d891c9e015e26a78dd150f64a.tar.gz
hostap-0ecff8d7c306d68d891c9e015e26a78dd150f64a.tar.bz2
Add hostapd driver_params config parameter
This is mainly for development testing purposes to allow driver_nl80211 behavior to be modified. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 5586f26..79bbba4 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -1867,6 +1867,9 @@ static int hostapd_config_fill(struct hostapd_config *conf,
line, pos);
return 1;
}
+ } else if (os_strcmp(buf, "driver_params") == 0) {
+ os_free(conf->driver_params);
+ conf->driver_params = os_strdup(pos);
} else if (os_strcmp(buf, "debug") == 0) {
wpa_printf(MSG_DEBUG, "Line %d: DEPRECATED: 'debug' configuration variable is not used anymore",
line);