wpa_cli: Allow IFNAME= prefix to be used
authorJouni Malinen <j@w1.fi>
Thu, 23 May 2013 17:04:17 +0000 (20:04 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 May 2013 17:04:17 +0000 (20:04 +0300)
commit13b11ba70260d99de5015e06142b6168d645c169
treedab88e562af33761cb2d9f92540758bb65ded3d6
parentae8535b6e1a98ca40ce87650a4179851e7cd13a7
wpa_cli: Allow IFNAME= prefix to be used

Strip out the IFNAME=<ifname> prefix from commands before parsing them
through the normal processing and then add the prefix back to the
beginning of the actual control interface command to make per-interface
commands work through the global control interface without having to use
the 'raw' command.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_cli.c