]> git.ipfire.org Git - thirdparty/hostap.git/commit
Indicate disconnection event on interface disabled
authorJouni Malinen <j@w1.fi>
Sat, 26 Apr 2014 13:42:45 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 28 Apr 2014 13:54:09 +0000 (16:54 +0300)
commitb7a6702fd47e82af0f5bb4a4444e46d3f25eaefa
tree8250e5ea2c1506a55aca9855f578d0f29534a0db
parentb89962b4b94a381bf29e5763c42c8a52812d6a25
Indicate disconnection event on interface disabled

It is possible for the disconnection event from the driver to not get
delivered when interface is disabled. To maintain consistent ctrl_iface
event behavior, indicate CTRL-EVENT-DISCONNECTED in such a case if we
were in connected state.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c