aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new.h
diff options
context:
space:
mode:
authorquiche@chromium.org <quiche@chromium.org>2014-04-09 22:10:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-13 20:43:04 (GMT)
commite9b32dae1a61a112ec0d84b74d4aa5cac514755f (patch)
tree6c2f2f2d9306e0394892260d0f1aea2944ffe8c4 /wpa_supplicant/dbus/dbus_new.h
parentaed1c0564f4ce43707768158c8c5c8994f231237 (diff)
downloadhostap-e9b32dae1a61a112ec0d84b74d4aa5cac514755f.zip
hostap-e9b32dae1a61a112ec0d84b74d4aa5cac514755f.tar.gz
hostap-e9b32dae1a61a112ec0d84b74d4aa5cac514755f.tar.bz2
Propagate scan failures over D-Bus
If we receive a scan request via D-Bus and wpa_supplicant_scan_trigger fails, return the failure to the caller over D-Bus. Signed-hostap: mukesh agrawal <quiche@chromium.org>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new.h')
-rw-r--r--wpa_supplicant/dbus/dbus_new.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
index 7aee923..1aec9be 100644
--- a/wpa_supplicant/dbus/dbus_new.h
+++ b/wpa_supplicant/dbus/dbus_new.h
@@ -83,7 +83,7 @@ enum wpas_dbus_bss_prop {
#define WPAS_DBUS_NEW_IFACE_P2P_GROUPMEMBER \
WPAS_DBUS_NEW_INTERFACE ".GroupMember"
-/* Errors */
+/* Top-level Errors */
#define WPAS_DBUS_ERROR_UNKNOWN_ERROR \
WPAS_DBUS_NEW_INTERFACE ".UnknownError"
#define WPAS_DBUS_ERROR_INVALID_ARGS \
@@ -120,6 +120,9 @@ enum wpas_dbus_bss_prop {
#define WPAS_DBUS_ERROR_SUBSCRIPTION_EPERM \
WPAS_DBUS_NEW_INTERFACE ".SubscriptionNotYou"
+/* Interface-level errors */
+#define WPAS_DBUS_ERROR_IFACE_SCAN_ERROR \
+ WPAS_DBUS_NEW_IFACE_INTERFACE ".ScanError"
void wpas_dbus_subscribe_noc(struct wpas_dbus_priv *priv);
void wpas_dbus_unsubscribe_noc(struct wpas_dbus_priv *priv);