summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
new file mode 100644
index 0000000000..453240fda9
--- /dev/null
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
@@ -0,0 +1,51 @@
1From f157b78166baff2c32ed3983b4e787417505b343 Mon Sep 17 00:00:00 2001
2From: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
3Date: Mon, 1 Jul 2013 19:11:34 +0300
4Subject: [PATCH] dbus: Register the AutoScan method call at the right place
5
6Upstream-Status: Accepted [hostap@lists.shmoo.com]
7
8Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
9---
10 wpa_supplicant/dbus/dbus_new.c | 18 +++++++++---------
11 1 file changed, 9 insertions(+), 9 deletions(-)
12
13diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
14index 8bc6618..d076d2d 100644
15--- a/wpa_supplicant/dbus/dbus_new.c
16+++ b/wpa_supplicant/dbus/dbus_new.c
17@@ -1917,15 +1917,6 @@ static const struct wpa_dbus_method_desc wpas_dbus_global_methods[] = {
18 END_ARGS
19 }
20 },
21-#ifdef CONFIG_AUTOSCAN
22- { "AutoScan", WPAS_DBUS_NEW_IFACE_INTERFACE,
23- (WPADBusMethodHandler) &wpas_dbus_handler_autoscan,
24- {
25- { "arg", "s", ARG_IN },
26- END_ARGS
27- }
28- },
29-#endif /* CONFIG_AUTOSCAN */
30 { NULL, NULL, NULL, { END_ARGS } }
31 };
32
33@@ -2649,6 +2640,15 @@ static const struct wpa_dbus_method_desc wpas_dbus_interface_methods[] = {
34 }
35 },
36 #endif /* CONFIG_AP */
37+#ifdef CONFIG_AUTOSCAN
38+ { "AutoScan", WPAS_DBUS_NEW_IFACE_INTERFACE,
39+ (WPADBusMethodHandler) &wpas_dbus_handler_autoscan,
40+ {
41+ { "arg", "s", ARG_IN },
42+ END_ARGS
43+ }
44+ },
45+#endif /* CONFIG_AUTOSCAN */
46 { NULL, NULL, NULL, { END_ARGS } }
47 };
48
49--
501.8.1.2
51