aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_old.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-31 21:21:10 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-02 20:50:26 (GMT)
commit38279bdb35c1b0c248289752197ebddd2fdd52ef (patch)
treecc5a7f2f47addc728acc71c0b2c906e7e850a2b1 /wpa_supplicant/dbus/dbus_old.h
parente3c4f0b5d5f34d919a5add944d319533a04cbdb2 (diff)
downloadhostap-38279bdb35c1b0c248289752197ebddd2fdd52ef.zip
hostap-38279bdb35c1b0c248289752197ebddd2fdd52ef.tar.gz
hostap-38279bdb35c1b0c248289752197ebddd2fdd52ef.tar.bz2
D-Bus: Coding style cleanup
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_old.h')
-rw-r--r--wpa_supplicant/dbus/dbus_old.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/wpa_supplicant/dbus/dbus_old.h b/wpa_supplicant/dbus/dbus_old.h
index e668231..451a9f8 100644
--- a/wpa_supplicant/dbus/dbus_old.h
+++ b/wpa_supplicant/dbus/dbus_old.h
@@ -82,7 +82,7 @@ void wpa_supplicant_dbus_notify_certification(struct wpa_supplicant *wpa_s,
const struct wpabuf *cert);
char * wpas_dbus_decompose_object_path(const char *path, char **network,
- char **bssid);
+ char **bssid);
int wpas_dbus_register_iface(struct wpa_supplicant *wpa_s);
int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s);
@@ -104,7 +104,12 @@ wpa_supplicant_dbus_notify_scanning(struct wpa_supplicant *wpa_s)
{
}
-#define wpa_supplicant_dbus_notify_state_change(w,n,o) do { } while (0)
+static inline void
+wpa_supplicant_dbus_notify_state_change(struct wpa_supplicant *wpa_s,
+ enum wpa_states new_state,
+ enum wpa_states old_state)
+{
+}
static inline void
wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,