cfg80211: distinguish unset DFS region from unknown
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 13 Nov 2013 17:54:04 +0000 (18:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:52:16 +0000 (20:52 +0100)
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c

index 068cb4055a62760225d5cf232c08c66cd0dcc4f2..740eccb420697da4ac18d834b7710f7adb031bca 100644 (file)
@@ -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;