From 9d432bd3fc707f02aad895c195a3283a65b1056b Mon Sep 17 00:00:00 2001 From: chenpaul Date: Tue, 30 Mar 2021 14:08:38 +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: If9f4f25dcb5e63b43cf098e410aad308fb4edae6 --- wifi/1.5/default/wifi_legacy_hal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/1.5/default/wifi_legacy_hal.cpp b/wifi/1.5/default/wifi_legacy_hal.cpp index 848fbd6114..5074252d3d 100644 --- a/wifi/1.5/default/wifi_legacy_hal.cpp +++ b/wifi/1.5/default/wifi_legacy_hal.cpp @@ -1677,7 +1677,7 @@ WifiLegacyHal::getUsableChannels(uint32_t band_mask, uint32_t iface_mode_mask, } wifi_error WifiLegacyHal::triggerSubsystemRestart() { - return global_func_table_.wifi_trigger_subsystem_restart(); + return global_func_table_.wifi_trigger_subsystem_restart(global_handle_); } void WifiLegacyHal::invalidate() {