diff options
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 7bff1c1d6c8f..6e7a9d853191 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -1125,6 +1125,11 @@ static void handle_channel_custom(struct wiphy *wiphy, | |||
1125 | regd); | 1125 | regd); |
1126 | 1126 | ||
1127 | if (r) { | 1127 | if (r) { |
1128 | REG_DBG_PRINT("cfg80211: Disabling freq %d MHz as custom " | ||
1129 | "regd has no rule that fits a %d MHz " | ||
1130 | "wide channel\n", | ||
1131 | chan->center_freq, | ||
1132 | KHZ_TO_MHZ(desired_bw_khz)); | ||
1128 | chan->flags = IEEE80211_CHAN_DISABLED; | 1133 | chan->flags = IEEE80211_CHAN_DISABLED; |
1129 | return; | 1134 | return; |
1130 | } | 1135 | } |