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:

zatwierdzone przez
nshrivas

rodzic
46f13624dd
commit
b901c80874
@@ -178,7 +178,8 @@ tgt_mc_cp_stats_prepare_raw_peer_rssi(struct wlan_objmgr_psoc *psoc,
|
||||
peer_rssi_iterator, &ev,
|
||||
true, WLAN_CP_STATS_ID);
|
||||
} 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) {
|
||||
cp_stats_err("peer[%pM] is null", mac_addr);
|
||||
goto end;
|
||||
@@ -522,8 +523,8 @@ tgt_mc_cp_stats_prepare_n_send_raw_station_stats(struct wlan_objmgr_psoc *psoc,
|
||||
return;
|
||||
}
|
||||
|
||||
peer = wlan_objmgr_get_peer(psoc, last_req->peer_mac_addr,
|
||||
WLAN_CP_STATS_ID);
|
||||
peer = wlan_objmgr_get_peer(psoc, last_req->pdev_id,
|
||||
last_req->peer_mac_addr, WLAN_CP_STATS_ID);
|
||||
if (!peer) {
|
||||
cp_stats_err("peer object is null");
|
||||
goto end;
|
||||
|
Reference in New Issue
Block a user