diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index a7c3fc256076..e9bb236a7ad0 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -2764,7 +2764,7 @@ QDF_STATUS wlan_hdd_get_channel_for_sap_restart( uint8_t vdev_id, uint8_t *channel, uint8_t *sec_ch) { - tHalHandle *hal_handle; + tHalHandle hal_handle; struct hdd_ap_ctx *hdd_ap_ctx; uint8_t intf_ch = 0; struct hdd_context *hdd_ctx; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 6982dbf2b21f..43f7307c7a6c 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7968,7 +7968,7 @@ static uint8_t hdd_get_safe_channel_from_pcl_and_acs_range( struct sir_pcl_list pcl; QDF_STATUS status; uint32_t i, j; - tHalHandle *hal_handle; + tHalHandle hal_handle; struct hdd_context *hdd_ctx; bool found = false; int ret; @@ -8072,7 +8072,7 @@ void hdd_switch_sap_channel(struct hdd_adapter *adapter, uint8_t channel, bool forced) { struct hdd_ap_ctx *hdd_ap_ctx; - tHalHandle *hal_handle; + tHalHandle hal_handle; struct hdd_context *hdd_ctx; if (!adapter) {