CHROMIUM: wpa_supplicant: refactor immediate disconnect notification

The disconnect reason is sent immediately to the dbus by calling
wpa_dbus_flush_object_changed_properties.  This change moves the
call to this function to under the dbus directory in order to
avoid notify.c including a private header (dbus/dbus_common_i.h)
from the dbus directory.

Fix other style nits found while trying to upstream.

BUG=None
TEST=Manual.  Connect to WiFi network.  Run 'dbus-monitor --system'.
Disable WiFi.  Verify that dbus shows a DisconnectReason = -3.

Change-Id: I0d4f457363235828fb8f9621bc5c1774c6af37ec
Reviewed-on: https://gerrit.chromium.org/gerrit/21522
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: Gary Morain <gmorain@chromium.org>
Tested-by: Gary Morain <gmorain@chromium.org>
5 files changed