]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_ctrl: Make wpa_cli ping/pong work more reliably
authorBen Greear <greearb@candelatech.com>
Mon, 4 Dec 2017 17:18:26 +0000 (09:18 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 1 Jan 2019 22:45:59 +0000 (00:45 +0200)
commit2a54979695597f362bd5cfcccb77dfb99b61ed9e
tree6f93e4fa665793f334ad0316eda713d9d2a69daf
parent658c39809bf8c97632b185b71ab31c40f50e66fc
wpa_ctrl: Make wpa_cli ping/pong work more reliably

In 2013 or so, IFNAME=foo was prepended to at least the Unix socket
communication from wpa_supplicant to wpa_cli. This broke the (fragile)
logic that made ping/pong work more often when wpa_supplicant is busy
sending logging info to wpa_cli.

Adding check for IFNAME=foo makes this work better.

Signed-off-by: Ben Greear <greearb@candelatech.com>
src/common/wpa_ctrl.c