qcacld-3.0: hdd: Fix incorrect hal_handle declarations

Turning on strict type checking flagged multiple of instances of
hal_handle being declared incorrectly, so fix them.

Change-Id: I8781c7e2839dcc3532b3aca066802db39f989e07
CRs-Fixed: 2254951
This commit is contained in:
Jeff Johnson 2018-06-01 17:12:32 -07:00 • committed by nshrivas
commit 796b9a708e
2 changed files with 3 additions and 3 deletions

View file

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

View file

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