From 4ebb0af45c0bc941392d9ba8435e51642517dffd Mon Sep 17 00:00:00 2001 From: chenpaul Date: Tue, 30 Mar 2021 14:39:14 +0800 Subject: [PATCH] Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler" Bug: 178126071 Bug: 183483123 Test: vendor HAL can received API call Change-Id: I0d6c9ce294e1bcea1ed19e4050babd923e6b6141 --- include/hardware_legacy/wifi_hal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 0ad9c4b..81948d6 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -394,7 +394,6 @@ wifi_error wifi_reset_dscp_mapping(wifi_handle handle); wifi_error wifi_set_subsystem_restart_handler(wifi_handle handle, wifi_subsystem_restart_handler handler); -wifi_error wifi_trigger_subsystem_restart(void); /** * Wifi HAL Thermal Mitigation API * @@ -887,7 +886,7 @@ typedef struct { /** * Trigger wifi subsystem restart to reload firmware */ - wifi_error (*wifi_trigger_subsystem_restart)(void); + wifi_error (*wifi_trigger_subsystem_restart)(wifi_handle handle); /* * when adding new functions make sure to add stubs in * hal_tool.cpp::init_wifi_stub_hal_func_table