Allow driver and ctrl_interface parameters to be overridden
authorJouni Malinen <j@w1.fi>
Wed, 4 Nov 2009 18:16:15 +0000 (20:16 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 4 Nov 2009 18:16:15 +0000 (20:16 +0200)
commitd27df100b587dd95f3256a8baf9db0c5d4380089
tree394c5e612ee63af8453ef0214e7becd6bb101ea2
parent0ae7b0869107d4ae1b28bc417cfe4c5b0fc9e0ed
Allow driver and ctrl_interface parameters to be overridden

New wpa_supplicant command line options -o<driver> and -O<ctrl> can
now be used to override the parameters received in add interface
command from dbus or global ctrl_interface. This can be used, e.g.,
to enable control interface when using NetworkManager (add
-O/var/run/wpa_supplicant into the Exec parameter in
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service).
Similarly, this can be used to use another driver wrapper with
NetworkManager (e.g., -onl80211 to replace WEXT with nl80211).
wpa_supplicant/main.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h