mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
parent
46f13624dd
commit
b901c80874
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue