Fix : Multi advertising is not working 68/199968/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Fri, 2 Nov 2018 11:12:35 +0000 (20:12 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Mon, 18 Feb 2019 03:08:37 +0000 (12:08 +0900)
[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

src/adapter_le_vsc_features.c

index b9cec92..f4241fc 100755 (executable)
@@ -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