summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 7bff1c1d6c8..6e7a9d85319 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1125,6 +1125,11 @@ static void handle_channel_custom(struct wiphy *wiphy,
regd);
if (r) {
+ REG_DBG_PRINT("cfg80211: Disabling freq %d MHz as custom "
+ "regd has no rule that fits a %d MHz "
+ "wide channel\n",
+ chan->center_freq,
+ KHZ_TO_MHZ(desired_bw_khz));
chan->flags = IEEE80211_CHAN_DISABLED;
return;
}