]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Support action scripts with global ctrl_iface
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 26 Sep 2014 12:41:55 +0000 (15:41 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 26 Sep 2014 12:45:53 +0000 (15:45 +0300)
commit55c2bfa9eb2e175faf8f1d282abb4aab60921e8a
tree6fce0e03514e4e9114dbe34485a36320d74872f6
parent063f85043d63eaf8d59e636cca9fa24057f73b70
wpa_cli: Support action scripts with global ctrl_iface

This extends "wpa_cli -a<action script>" functionality to work with the
global wpa_supplicant control interface. The IFNAME=<ifname> prefix is
removed from the event messages and converted to the control interface
name when present. Previously, action scripts could only be used with
the per-interface control interfaces.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wpa_cli.c