D-Bus: Move NetworkRequest signal to correct registration array
authorJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 14:11:56 +0000 (16:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 20:50:27 +0000 (22:50 +0200)
This is an interface signal, not a global signal, so move it to the
current array for registering the signal.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new.c

index 9841303..b21b7a8 100644 (file)
@@ -2045,14 +2045,6 @@ static const struct wpa_dbus_signal_desc wpas_dbus_global_signals[] = {
                  END_ARGS
          }
        },
-       { "NetworkRequest", WPAS_DBUS_NEW_IFACE_INTERFACE,
-         {
-                 { "path", "o", ARG_OUT },
-                 { "field", "s", ARG_OUT },
-                 { "text", "s", ARG_OUT },
-                 END_ARGS
-         }
-       },
        /* Deprecated: use org.freedesktop.DBus.Properties.PropertiesChanged */
        { "PropertiesChanged", WPAS_DBUS_NEW_INTERFACE,
          {
@@ -3165,6 +3157,14 @@ static const struct wpa_dbus_signal_desc wpas_dbus_interface_signals[] = {
                  END_ARGS
          }
        },
+       { "NetworkRequest", WPAS_DBUS_NEW_IFACE_INTERFACE,
+         {
+                 { "path", "o", ARG_OUT },
+                 { "field", "s", ARG_OUT },
+                 { "text", "s", ARG_OUT },
+                 END_ARGS
+         }
+       },
        { NULL, NULL, { END_ARGS } }
 };