qcacld-3.0: Correctly call sme_get_rssi_snr_by_bssid()

Currently csr_dump_connection_stats() passes a tpAniSirGlobal to
sme_get_rssi_snr_by_bssid() but a tHalHandle is expected, so correct
the call to pass the correct parameter.

Change-Id: I51216e2636a88fea30b007dcc5eee95000cafe60
CRs-Fixed: 2268809
This commit is contained in:
Jeff Johnson 2018-06-10 20:47:54 -07:00 committed by nshrivas
parent c074933e90
commit 0c4f48175e

View File

@ -4219,7 +4219,8 @@ static void csr_dump_connection_stats(tpAniSirGlobal mac_ctx,
conn_stats.ssid_len = SIR_MAC_MAX_SSID_LENGTH;
qdf_mem_copy(conn_stats.ssid, conn_profile->SSID.ssId,
conn_stats.ssid_len);
sme_get_rssi_snr_by_bssid(mac_ctx, session->pCurRoamProfile,
sme_get_rssi_snr_by_bssid(MAC_HANDLE(mac_ctx),
session->pCurRoamProfile,
&conn_stats.bssid[0],
&conn_stats.rssi, NULL);
conn_stats.est_link_speed = 0;