summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-11-13 18:54:04 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 20:52:16 +0100
commitd7a4b05a2794fc8f2a545272048c7212951c1946 (patch)
tree333b09c5239b3ab994350ea86819638a555f567e /net/wireless/reg.c
parentadbfb058155dfabe77ea73c303cbd75af7e4d9d3 (diff)
downloadlinux-d7a4b05a2794fc8f2a545272048c7212951c1946.tar.bz2
cfg80211: distinguish unset DFS region from unknown
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 068cb4055a62..740eccb42069 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -2152,6 +2152,9 @@ static void print_dfs_region(enum nl80211_dfs_regions dfs_region)
return;
switch (dfs_region) {
+ case NL80211_DFS_UNSET:
+ pr_info(" DFS Master region unset");
+ break;
case NL80211_DFS_FCC:
pr_info(" DFS Master region FCC");
break;