From 6dca9b34210bb29d2500fc16afc7d1e579ecef22 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 12 Jun 2018 20:45:47 -0700 Subject: [PATCH] qcacld-3.0: Use mac_handle_t in wlan_hdd_clear_link_layer_stats Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern name for what was previously called the tHalHandle. Subsequently change "qcacld-3.0: Use mac_handle_t in wlan_hdd_stats" transitioned wlan_hdd_stats to use the new naming. But while that change was in the pipeline a new instance of tHalHandle was added. So now transition the instance recently added to wlan_hdd_clear_link_layer_stats(). Change-Id: I2d17c729a92eb5c545b829fc6699e34233116f94 CRs-Fixed: 2266545 --- core/hdd/src/wlan_hdd_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index a5da737b218e..ee26d1a4d388 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -1686,14 +1686,14 @@ int wlan_hdd_cfg80211_ll_stats_clear(struct wiphy *wiphy, void wlan_hdd_clear_link_layer_stats(struct hdd_adapter *adapter) { tSirLLStatsClearReq link_layer_stats_clear_req; - tHalHandle hal = WLAN_HDD_GET_HAL_CTX(adapter); + mac_handle_t mac_handle = adapter->hdd_ctx->mac_handle; link_layer_stats_clear_req.statsClearReqMask = WIFI_STATS_IFACE_AC | WIFI_STATS_IFACE_ALL_PEER; link_layer_stats_clear_req.stopReq = 0; link_layer_stats_clear_req.reqId = 1; link_layer_stats_clear_req.staId = adapter->session_id; - sme_ll_stats_clear_req(hal, &link_layer_stats_clear_req); + sme_ll_stats_clear_req(mac_handle, &link_layer_stats_clear_req); } /**