diff --git a/umac/dfs/core/src/filtering/dfs_init.c b/umac/dfs/core/src/filtering/dfs_init.c index 5cf2dca690..1ae8672aab 100644 --- a/umac/dfs/core/src/filtering/dfs_init.c +++ b/umac/dfs/core/src/filtering/dfs_init.c @@ -51,13 +51,13 @@ void dfs_reset_alldelaylines(struct wlan_dfs *dfs) int i; if (!dfs) { - dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "dfs is NULL"); + dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "dfs is NULL"); return; } pl = dfs->pulses; if (!pl) { - dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "pl==NULL, dfs=%pK", dfs); + dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "pl is NULL"); return; } @@ -73,8 +73,11 @@ void dfs_reset_alldelaylines(struct wlan_dfs *dfs) } if (!(dfs->dfs_b5radars)) { - dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "b5radars=%pK", - dfs->dfs_b5radars); + if (dfs->dfs_rinfo.rn_numbin5radars > 0) + dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, + "null dfs_b5radars, numbin5radars=%d domain=%d", + dfs->dfs_rinfo.rn_numbin5radars, + dfs->dfsdomain); return; }