Add BSSID and reason code (if available) to disconnect event
authorJouni Malinen <j@w1.fi>
Sun, 11 Apr 2010 18:25:15 +0000 (21:25 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 11 Apr 2010 18:25:15 +0000 (21:25 +0300)
commit0544b242481001de7085fe24741a6f4fee192fe6
tree8c808cc3bf1a530767023564d9bab8820cfb6881
parent488d0934ab86f77b0732e768e1794fa9185833a3
Add BSSID and reason code (if available) to disconnect event

This adds more details into the CTRL-EVENT-DISCONNECTED event to
make it easier to figure out which network was disconnected in some
race conditions and to what could have been the reason for
disconnection. The reason code is currently only available with
the nl80211 driver wrapper.
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/events.c