Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler"

Bug: 178126071
Bug: 183483123
Test: vendor HAL can received API call
Change-Id: I0d6c9ce294e1bcea1ed19e4050babd923e6b6141
This commit is contained in:
chenpaul 2021-03-30 14:39:14 +08:00
parent 35390b6dff
commit 4ebb0af45c

View file

@ -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