mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Revert "Change ifname to interface handle in set_scan_mode api"
This reverts commit 800da88532.
Reason for revert: Droidmonitor created revert due to build breakage in b/343479152
Change-Id: I666c1f584a6649b1526016e14bc7e8b901eee204
This commit is contained in:
committed by
Android (Google) Code Review
parent
800da88532
commit
3a4e5591c0
@@ -2012,7 +2012,7 @@ wifi_error WifiLegacyHal::twtClearStats(const std::string& iface_name, uint8_t c
|
||||
}
|
||||
|
||||
wifi_error WifiLegacyHal::setScanMode(const std::string& iface_name, bool enable) {
|
||||
return global_func_table_.wifi_set_scan_mode(getIfaceHandle(iface_name), enable);
|
||||
return global_func_table_.wifi_set_scan_mode(iface_name.c_str(), enable);
|
||||
}
|
||||
|
||||
wifi_error WifiLegacyHal::setDtimConfig(const std::string& iface_name, uint32_t multiplier) {
|
||||
|
||||
@@ -1386,7 +1386,7 @@ typedef struct {
|
||||
* @param enable true if current is scan only mode
|
||||
* @return Synchronous wifi_error
|
||||
*/
|
||||
wifi_error (*wifi_set_scan_mode)(wifi_interface_handle iface, bool enable);
|
||||
wifi_error (*wifi_set_scan_mode)(const char * ifname, bool enable);
|
||||
|
||||
wifi_error (*wifi_nan_pairing_end)(transaction_id id,
|
||||
wifi_interface_handle iface,
|
||||
|
||||
Reference in New Issue
Block a user