dbus: add 'scanning' property
authorDan Williams <dcbw@redhat.com>
Wed, 27 May 2009 18:06:40 +0000 (21:06 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 27 May 2009 18:06:40 +0000 (21:06 +0300)
commitcb8564b1ddf2738fa26a80523078749bb7a55c5f
tree11dadd55fd6d5833df2d83a8faf6c16cec103fd4
parent2976121955ba0e2f52c09fbffc93f91dbf0d845b
dbus: add 'scanning' property

When the supplicant is connected and performs a scan, it doesn't enter
WPA_SCANNING state for various reasons.  However, external programs
still need to know that the supplicant is scanning since they may not
wish to perform certain operations during a scan (as those operations
will likely fail or yield incorrect results).  Add a 'scanning' property
and signal to the supplicant dbus interface to allow clients to
synchronize better with the supplicant when it scans.

Signed-off-by: Dan Williams <dcbw@redhat.com>
wpa_supplicant/ctrl_iface_dbus.c
wpa_supplicant/ctrl_iface_dbus.h
wpa_supplicant/ctrl_iface_dbus_handlers.c
wpa_supplicant/ctrl_iface_dbus_handlers.h
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h