mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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
This commit is contained in:
parent
46cec9839a
commit
92c04b74f8
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue