summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-11-13 21:54:04 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 23:52:16 +0400
commitd7a4b05a2794fc8f2a545272048c7212951c1946 (patch)
tree333b09c5239b3ab994350ea86819638a555f567e /net/wireless
parentadbfb058155dfabe77ea73c303cbd75af7e4d9d3 (diff)
downloadlinux-d7a4b05a2794fc8f2a545272048c7212951c1946.tar.xz
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')
-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;