diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-06-28 15:58:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-29 14:46:54 +0100 |
commit | 53de954ae433326d09f4cdcfd63d8241ba935980 (patch) | |
tree | 5a88e777bca060c1d7292bcf63859cb309a41ea5 /meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch | |
parent | 6873c1adea0dee712e2636da9e90bc755a6b4097 (diff) | |
download | poky-53de954ae433326d09f4cdcfd63d8241ba935980.tar.gz |
connman: Upgrade to version 0.75
Enable ofono plugin.
Adopt some logic in meta-oe on connman plugin runtime dependency.
Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists.
Add Upstream-Status information for patches.
(From OE-Core rev: 7d24ef3454d2bcdf175c17206c8016bafe5e9372)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch b/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch deleted file mode 100644 index a0ad0991df..0000000000 --- a/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | Schedule delayed scan when being disconnected from an AP | ||
2 | |||
3 | When being disconnected from an AP, a delayed scan is scheduled to make | ||
4 | sure the AP is still there. wpa_supplicant removes a BSS from its bss list | ||
5 | when it disappears from the scan results twice in a row. | ||
6 | |||
7 | Author: Samuel Ortiz <sameo@linux.intel.com> | ||
8 | Ported by Dongxiao Xu <dongxiao.xu@intel.com> | ||
9 | |||
10 | diff -ruN connman-0.56-orig/plugins/supplicant.c connman-0.56/plugins/supplicant.c | ||
11 | --- connman-0.56-orig/plugins/supplicant.c 2010-09-25 15:08:21.242927383 +0800 | ||
12 | +++ connman-0.56/plugins/supplicant.c 2010-09-25 15:12:46.346136858 +0800 | ||
13 | @@ -2184,6 +2184,15 @@ | ||
14 | scanning == TRUE ? "started" : "finished"); | ||
15 | } | ||
16 | |||
17 | +static gboolean delayed_scan(gpointer user_data) | ||
18 | +{ | ||
19 | + struct supplicant_task *task = user_data; | ||
20 | + | ||
21 | + supplicant_scan(task->device); | ||
22 | + | ||
23 | + return FALSE; | ||
24 | +} | ||
25 | + | ||
26 | static void state_change(struct supplicant_task *task, DBusMessage *msg) | ||
27 | { | ||
28 | DBusError error; | ||
29 | @@ -2277,7 +2286,13 @@ | ||
30 | task_connect(task); | ||
31 | } else | ||
32 | task->network = NULL; | ||
33 | + } else { | ||
34 | + if (task->state == WPA_DISCONNECTED) | ||
35 | + g_timeout_add_seconds(10, delayed_scan, task); | ||
36 | + | ||
37 | + remove_network(task); | ||
38 | } | ||
39 | + | ||
40 | break; | ||
41 | |||
42 | default: | ||