diff options
| author | Arif Hussain <arifhussain@codeaurora.org> | 2016-09-01 23:43:40 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-09-06 15:24:24 -0700 |
| commit | 92c04b74f8037c5b024784a0a468101aefded103 (patch) | |
| tree | e30747cf3667a52561eb41643411b7eb98ab7562 | |
| parent | 46cec9839a4538d2c98595e42535ba1d74ec01bc (diff) | |
qcacld-3.0: SAP DFS: Logging enhancement in dfs_process_phyerr file
Reduce log level and remove new lines.
Change-Id: I87588a45ad14cff5be1afab63c9cdf1329cfa063
CRs-Fixed: 1062742
| -rw-r--r-- | core/sap/dfs/src/dfs_process_phyerr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/sap/dfs/src/dfs_process_phyerr.c b/core/sap/dfs/src/dfs_process_phyerr.c index 9189d58f8372..5290a70c0db9 100644 --- a/core/sap/dfs/src/dfs_process_phyerr.c +++ b/core/sap/dfs/src/dfs_process_phyerr.c @@ -463,7 +463,7 @@ static void dump_phyerr_contents(const char *d, int len) * Print the final line if we didn't print it above. */ if (n != 0) - QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, "%s: %s\n", + QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, "%s: %s", __func__, buf); #endif /* def CONFIG_ENABLE_DUMP_PHYERR_CONTENTS */ } @@ -481,7 +481,7 @@ dfs_process_phyerr(struct ieee80211com *ic, void *buf, uint16_t datalen, if (dfs == NULL) { QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR, - "%s: sc_dfs is NULL\n", __func__); + "%s: sc_dfs is NULL", __func__); return; } @@ -509,8 +509,8 @@ dfs_process_phyerr(struct ieee80211com *ic, void *buf, uint16_t datalen, dump_phyerr_contents(buf, datalen); if (chan == NULL) { - QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR, - "%s: chan is NULL\n", __func__); + QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, + "%s: chan is NULL", __func__); return; } @@ -561,7 +561,7 @@ dfs_process_phyerr(struct ieee80211com *ic, void *buf, uint16_t datalen, enable_log) == 0) { dfs->dfs_phyerr_reject_count++; QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, - "%s:Rejected phyerr count after parsing=%d\n", + "%s:Rejected phyerr count after parsing=%d", __func__, dfs->dfs_phyerr_reject_count); return; } else { @@ -592,7 +592,7 @@ dfs_process_phyerr(struct ieee80211com *ic, void *buf, uint16_t datalen, } QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, - "\n %s: Frequency at which the phyerror was injected = %d", + "%s: Frequency at which the phyerror was injected = %d", __func__, e.freq); /* * If the hardware supports radar reporting on the extension channel |
