mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 16:59:54 +00:00
update adapter/common/net/bluetooth/broadcast/adapter/ble/src/softbus_ble_gatt.c.
[新需求]: gatt adapter层面向接口适配,移除管理功能 Signed-off-by: yuxpro <weiyuanxin3@huawei.com>
This commit is contained in:
parent
7b8354ad9d
commit
e697f78cec
@ -730,10 +730,7 @@ static bool SetLpParam(const SoftBusLpBroadcastParam *bcParam, const SoftBusLpSc
|
||||
SoftBusFree(lpParam.rawData.advData);
|
||||
SoftBusFree(lpParam.rawData.rspData);
|
||||
DISC_LOGI(DISC_BLE_ADAPTER, "advHandle: %d, ret: %d", bcParam->advHandle, ret);
|
||||
if (ret != OHOS_BT_STATUS_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return (ret == OHOS_BT_STATUS_SUCCESS) ? true : false;
|
||||
}
|
||||
|
||||
static int32_t GetBroadcastHandle(int32_t advId, int32_t *bcHandle)
|
||||
|
Loading…
Reference in New Issue
Block a user