meta-tizen: neard: move recipe and patches to the proper dir
[scm/bb/tizen-distro.git] / meta-tizen / meta-tizen-adaptation / meta / recipes-connectivity / connman / connman / 0015-Tizen-Unify-bluetooth-tethering-enable-logic.patch
1 From ee0652fae6fc8615408e0937f3f61ebd28f9c42c Mon Sep 17 00:00:00 2001
2 From: Zhang zhengguang <zhengguang.zhang@intel.com>
3 Date: Tue, 25 Mar 2014 14:16:52 +0800
4 Subject: [PATCH 15/32] Tizen: Unify bluetooth tethering enable logic
5
6 In bluez 4.x plugin, when bluetooth tethering is enabled,
7 set_tethering() returns 0, while in bluez 5.x plugin,
8 it returns -EINPROGRESS, which is not compatiable for
9 ConnMan to handle both of them, this patch makes bluez
10 5.x tethering enable logic consistent with bluez 4.x.
11
12 Change-Id: I618efd32b5f123fe9bdb58d10adb29c67a87796f
13 ---
14  plugins/bluetooth.c | 2 +-
15  1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
18 index 82217d0..28df406 100644
19 --- a/plugins/bluetooth.c
20 +++ b/plugins/bluetooth.c
21 @@ -880,7 +880,7 @@ static int bluetooth_tech_set_tethering(struct connman_technology *technology,
22         if (i == 0)
23                 return -ENODEV;
24  
25 -       return -EINPROGRESS;
26 +       return 0;
27  }
28  
29  static struct connman_technology_driver tech_driver = {
30 -- 
31 1.8.1.4
32