qcacmn: Add psoc id value to debug prints vdev mlme timer APIs
Add psoc id value for the debug prints of, error handling vdev mlme timer APIs Change-Id: I7d225114e91ff4b6f898450ca3ef7d2e21be631a CRs-Fixed: 2427905
This commit is contained in:
@@ -1532,4 +1532,21 @@ wlan_psoc_get_lmac_if_txops(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return &((psoc->soc_cb.tx_ops));
|
||||
}
|
||||
|
||||
/**
|
||||
* wlan_psoc_get_id() - get psoc id
|
||||
* @psoc: PSOC object
|
||||
*
|
||||
* API to get psoc id
|
||||
*
|
||||
* Return: @psoc_id: psoc id
|
||||
*/
|
||||
static inline uint8_t wlan_psoc_get_id(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
if (!psoc)
|
||||
return (uint8_t)-1;
|
||||
|
||||
return psoc->soc_objmgr.psoc_id;
|
||||
}
|
||||
#endif /* _WLAN_OBJMGR_PSOC_OBJ_H_*/
|
||||
|
Reference in New Issue
Block a user