aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-11-13 12:54:04 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 14:52:16 -0500
commitd7a4b05a2794fc8f2a545272048c7212951c1946 (patch)
tree333b09c5239b3ab994350ea86819638a555f567e /net
parentadbfb058155dfabe77ea73c303cbd75af7e4d9d3 (diff)
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')
-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)
2152 return; 2152 return;
2153 2153
2154 switch (dfs_region) { 2154 switch (dfs_region) {
2155 case NL80211_DFS_UNSET:
2156 pr_info(" DFS Master region unset");
2157 break;
2155 case NL80211_DFS_FCC: 2158 case NL80211_DFS_FCC:
2156 pr_info(" DFS Master region FCC"); 2159 pr_info(" DFS Master region FCC");
2157 break; 2160 break;