Merge "HCI: Change CreateAdvertiser overload to ExtendedCreateAdvertiser"
diff --git a/gd/hci/le_advertising_manager.cc b/gd/hci/le_advertising_manager.cc
index 3362ea3..3e5aa72 100644
--- a/gd/hci/le_advertising_manager.cc
+++ b/gd/hci/le_advertising_manager.cc
@@ -286,7 +286,7 @@
return id;
}
-AdvertiserId LeAdvertisingManager::CreateAdvertiser(
+AdvertiserId LeAdvertisingManager::ExtendedCreateAdvertiser(
const ExtendedAdvertisingConfig& config, const common::Callback<void(Address, AddressType)>& scan_callback,
const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, os::Handler* handler) {
if (config.directed) {
diff --git a/gd/hci/le_advertising_manager.h b/gd/hci/le_advertising_manager.h
index 4bbcfc1..25eae3d 100644
--- a/gd/hci/le_advertising_manager.h
+++ b/gd/hci/le_advertising_manager.h
@@ -69,10 +69,9 @@
const common::Callback<void(Address, AddressType)>& scan_callback,
const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback,
os::Handler* handler);
- AdvertiserId CreateAdvertiser(const ExtendedAdvertisingConfig& config,
- const common::Callback<void(Address, AddressType)>& scan_callback,
- const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback,
- os::Handler* handler);
+ AdvertiserId ExtendedCreateAdvertiser(
+ const ExtendedAdvertisingConfig& config, const common::Callback<void(Address, AddressType)>& scan_callback,
+ const common::Callback<void(ErrorCode, uint8_t, uint8_t)>& set_terminated_callback, os::Handler* handler);
void RemoveAdvertiser(AdvertiserId id);