diff options
| author | Leo Chang <schang@qca.qualcomm.com> | 2014-08-22 15:18:11 -0700 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2014-08-23 11:51:37 +0530 |
| commit | ce2157dd5767482219c00c8a43be2c4cc747f857 (patch) | |
| tree | 50406cc655cc23f84ad405b60027fea533374d0a | |
| parent | 98c317af63674583aa40433c89128bd60b85dd52 (diff) | |
qca-cld: ipa uc: dp add ipa uc stats query, kw fix
For debugging purpose, IPA UC stats query function is needed.
If query function called
WLAN Firmware stats
IPA UC stats
WLAN host stats
will be displayed on kernel log
KW fix
Change-Id: Ia3166b26e598c098a83f40d548b56cc558fae0b6
CRs-fixed: 709748
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index d83fb1441333..952e16f8ce94 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -10694,6 +10694,10 @@ static int32_t wma_set_priv_cfg(tp_wma_handle wma_handle, pdev = vos_get_context(VOS_MODULE_ID_TXRX, wma_handle->vos_context); + if (!pdev) { + WMA_LOGE("pdev NULL for uc stat"); + return -EINVAL; + } ol_txrx_ipa_uc_get_stat(pdev); } break; |
