qcacmn: print vdev id in failure case
Currently only peer mac address is logged if failed to find peer, there is no log for vdev id. If caller has passed wrong vdev_id from current error print one can not identify the issue. So to fix the issue add vdev id to error log to check if vdev_id was passed correctly. CRs-Fixed: 3616476 Change-Id: I3c500784e744f37dd8a1a2a7b84c7b94baf13149
This commit is contained in:

committed by
Rahul Choudhary

szülő
4be2141852
commit
34d88f5bfc
@@ -1981,8 +1981,8 @@ struct dp_peer *dp_peer_get_tgt_peer_hash_find(struct dp_soc *soc,
|
||||
ta_peer = peer;
|
||||
}
|
||||
} else {
|
||||
dp_peer_err("fail to find peer:" QDF_MAC_ADDR_FMT,
|
||||
QDF_MAC_ADDR_REF(peer_mac));
|
||||
dp_peer_err("fail to find peer:" QDF_MAC_ADDR_FMT " vdev_id: %u",
|
||||
QDF_MAC_ADDR_REF(peer_mac), vdev_id);
|
||||
}
|
||||
|
||||
return ta_peer;
|
||||
|
Reference in New Issue
Block a user