qcacmn: Fix compilation error in CP_STATs
Fix compilation error in CP_STATs due to change in definition of of wlan_objmgr_get_peer. Change-Id: I15753d942dd3932fbf0d2c8a361e5e507fd38b8e CRs-Fixed: 2244161
This commit is contained in:
@@ -178,7 +178,8 @@ tgt_mc_cp_stats_prepare_raw_peer_rssi(struct wlan_objmgr_psoc *psoc,
|
|||||||
peer_rssi_iterator, &ev,
|
peer_rssi_iterator, &ev,
|
||||||
true, WLAN_CP_STATS_ID);
|
true, WLAN_CP_STATS_ID);
|
||||||
} else {
|
} else {
|
||||||
peer = wlan_objmgr_get_peer(psoc, last_req->pdev_id, mac_addr, WLAN_CP_STATS_ID);
|
peer = wlan_objmgr_get_peer(psoc, last_req->pdev_id,
|
||||||
|
mac_addr, WLAN_CP_STATS_ID);
|
||||||
if (!peer) {
|
if (!peer) {
|
||||||
cp_stats_err("peer[%pM] is null", mac_addr);
|
cp_stats_err("peer[%pM] is null", mac_addr);
|
||||||
goto end;
|
goto end;
|
||||||
@@ -522,8 +523,8 @@ tgt_mc_cp_stats_prepare_n_send_raw_station_stats(struct wlan_objmgr_psoc *psoc,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
peer = wlan_objmgr_get_peer(psoc, last_req->peer_mac_addr,
|
peer = wlan_objmgr_get_peer(psoc, last_req->pdev_id,
|
||||||
WLAN_CP_STATS_ID);
|
last_req->peer_mac_addr, WLAN_CP_STATS_ID);
|
||||||
if (!peer) {
|
if (!peer) {
|
||||||
cp_stats_err("peer object is null");
|
cp_stats_err("peer object is null");
|
||||||
goto end;
|
goto end;
|
||||||
|
Viittaa uudesa ongelmassa
Block a user