projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926a0a0
)
cfg80211: add debug print when disabling a channel on a custom regd
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 20 Oct 2010 17:18:57 +0000
(10:18 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:13 +0000
(13:24 -0500)
Cc: Easwar Krishnan <easwar.krishnan@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
patch
|
blob
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index 7bff1c1d6c8fddcb06ddadee9c631d7a68e44345..6e7a9d853191bfca34084a8eb9172ef7290324fb 100644
(file)
--- 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;
}