diff options
Diffstat (limited to 'qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c')
-rw-r--r-- | qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c b/qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c index 40c1b16..bc333e3 100644 --- a/qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c +++ b/qca-wifi-host-cmn/umac/regulatory/core/src/reg_services_common.c @@ -3463,7 +3463,8 @@ static uint32_t reg_get_channel_flags_for_freq(struct wlan_objmgr_pdev *pdev, chan_enum = reg_get_chan_enum_for_freq(freq); if (chan_enum == INVALID_CHANNEL) { - reg_err("chan freq is not valid"); + if(freq) + reg_err("chan freq %d is not valid", freq); return REGULATORY_CHAN_INVALID; } |