]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_cli: Fix detach race with forked monitor process
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 12 Mar 2010 15:34:56 +0000 (17:34 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 12 Mar 2010 15:34:56 +0000 (17:34 +0200)
commit037f83eb4464cced3e912865a70100585b885f0d
tree8ad5faaca454392146fb4c80553bf9e198c0935f
parentdd63f314bd8c7f292a4aa6abed4700328e78b2e6
wpa_cli: Fix detach race with forked monitor process

Need to kill the monitor process before running detach command on
the monitor connection to avoid race where the monitor process may
end up getting the detach command result.
wpa_supplicant/wpa_cli.c