dpp-nfc: Allow wpa_supplicant control interface directory to be set
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
69dfbe6a93
commit
0b04d3c578
1 changed files with 6 additions and 0 deletions
|
@ -623,6 +623,8 @@ def main():
|
|||
help='run as Configurator-only')
|
||||
parser.add_argument('--config-params', default='',
|
||||
help='configurator parameters')
|
||||
parser.add_argument('--ctrl', default='/var/run/wpa_supplicant',
|
||||
help='wpa_supplicant/hostapd control interface')
|
||||
parser.add_argument('--summary',
|
||||
help='summary file for writing status updates')
|
||||
parser.add_argument('--success',
|
||||
|
@ -663,6 +665,10 @@ def main():
|
|||
ifname = args.ifname
|
||||
print("Selected ifname " + ifname)
|
||||
|
||||
if args.ctrl:
|
||||
global wpas_ctrl
|
||||
wpas_ctrl = args.ctrl
|
||||
|
||||
if args.summary:
|
||||
global summary_file
|
||||
summary_file = args.summary
|
||||
|
|
Loading…
Reference in a new issue