mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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
This commit is contained in:
parent
bc2e6ec14e
commit
6dca9b3421
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue