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:
Akshay Kosigi
2019-04-02 18:28:20 +05:30
committed by nshrivas
szülő 457b26718a
commit 09b50e625d
3 fájl változott, egészen pontosan 32 új sor hozzáadva és 4 régi sor törölve

Fájl megtekintése

@@ -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_*/