From: Seungyoun Ju Date: Fri, 2 Nov 2018 11:12:35 +0000 (+0900) Subject: Fix : Multi advertising is not working X-Git-Tag: accepted/tizen/unified/20190219.154246~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d18bb1b14cbb850ba18429a6523c33db40b1200;p=platform%2Fupstream%2Fbluez.git Fix : Multi advertising is not working [Problem] Multi advertising is not working. [Cause & Measure] There is a condition to check if multiple advertising is supported or not. But the condition is not valid now so it has been removed. Change-Id: I76387667f19b8c58a40416faf4fa42462782b4cb --- diff --git a/src/adapter_le_vsc_features.c b/src/adapter_le_vsc_features.c index b9cec92..f4241fc 100755 --- a/src/adapter_le_vsc_features.c +++ b/src/adapter_le_vsc_features.c @@ -114,12 +114,6 @@ int adapter_le_get_max_adv_instance(void) return 0; } - /* GearS does not support multi advertising. - but its official firmware returns adv_inst_max vaule to 5. - So here check rpa_offloading support and filter_support */ - if (!ble_vsc_cb.rpa_offloading || !ble_vsc_cb.max_filter) - return 0; - return ble_vsc_cb.adv_inst_max; } @@ -130,12 +124,6 @@ gboolean adapter_le_is_supported_multi_advertising(void) return FALSE; } - /* GearS does not support multi advertising. - but its official firmware returns adv_inst_max vaule to 5. - So here check rpa_offloading support and filter_support */ - if (!ble_vsc_cb.rpa_offloading || !ble_vsc_cb.max_filter) - return FALSE; - if (ble_vsc_cb.adv_inst_max >= 5) return TRUE; else