Remove XSAT sending logic in Fhub 16/290016/1
authorWootak Jung <wootak.jung@samsung.com>
Fri, 17 Mar 2023 07:37:56 +0000 (16:37 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 17 Mar 2023 07:37:56 +0000 (16:37 +0900)
Change-Id: If5e4df993dc78cfd0f4920941300353814462c61
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
hf-agent/bluetooth-hf-agent.c

index 2399c51..1810ec5 100644 (file)
@@ -3136,12 +3136,14 @@ static void __bt_establish_initialization(bt_hf_agent_info_t *bt_hf_info)
        else
                ERR("__bt_get_bia_cmd is failed");
 
-       ret = __bt_hf_send_and_read(bt_hf_info, BT_HF_XSAT, buf,
+       if (!TIZEN_MODEL_NAME_FHUB) {
+               ret = __bt_hf_send_and_read(bt_hf_info, BT_HF_XSAT, buf,
                                                sizeof(BT_HF_XSAT) - 1);
-       if (ret)
-               DBG("sent BT_HF_XSAT");
-       else
-               ERR("BT_HF_XSAT sending failed");
+               if (ret)
+                       DBG("sent BT_HF_XSAT");
+               else
+                       ERR("BT_HF_XSAT sending failed");
+       }
 
        if (TIZEN_PROFILE_WEARABLE) {
                /* send Bluetooth Samsung Support Feature cmd */