diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-10-05 13:55:22 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-10-05 13:55:22 +0900 |
commit | 675e99a66c22e12330b236713de86a33e5cf2066 (patch) | |
tree | 0c4f0da00b67a4f95d0481767a84a53d3094b739 | |
parent | 5d708f70ba6cb2737e56148e12a86edfe77cc5f0 (diff) | |
download | bluetooth-675e99a66c22e12330b236713de86a33e5cf2066.tar.gz bluetooth-675e99a66c22e12330b236713de86a33e5cf2066.tar.bz2 bluetooth-675e99a66c22e12330b236713de86a33e5cf2066.zip |
Fix the issue to show all device into headset list (TSAM-8622)submit/tizen_3.0_wearable/20161015.000005submit/tizen/20161005.062743accepted/tizen/wearable/20161005.081105accepted/tizen/3.0/wearable/20161015.084029
Change-Id: I358b97719fc4deb2e57e6bd8e309211ce45927c8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bt-handler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bt-handler.c b/src/bt-handler.c index d71602e..5228568 100644 --- a/src/bt-handler.c +++ b/src/bt-handler.c @@ -458,6 +458,11 @@ void _bt_cb_bonding_created(int result, bt_device_info_s *dev_info, if (dev == NULL && ad->searched_item != NULL) dev = _bt_get_dev_info(ad->searched_device, ad->searched_item); + retm_if(_bt_is_matched_profile(ad->search_type, + dev_info->bt_class.major_device_class, + dev_info->bt_class.major_service_class_mask) == FALSE, + "Not supported profile"); + if (result != BT_ERROR_NONE) { ERR("Failed to pair with device : Error Cause[%d]", result); elm_object_disabled_set(ad->scan_btn, EINA_FALSE); |