aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-11-13 12:54:02 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 14:52:12 -0500
commit4c7d3982a6e37831382b9ef90aa0dbadc0bf3a22 (patch)
tree4c27ee3a86f91783464daeb5353d11e22475dcff /net/wireless/reg.h
parentf7d8ad81ca8c447124821e58f876d1aff996c85f (diff)
cfg80211: use enum nl80211_dfs_regions for dfs_region everywhere
u8 was used in some other places, just stick to the enum, this forces us to express the values that are expected. 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.h')
-rw-r--r--net/wireless/reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h
index b4076babaf47..cc4c2c0a6723 100644
--- a/net/wireless/reg.h
+++ b/net/wireless/reg.h
@@ -20,7 +20,7 @@ extern const struct ieee80211_regdomain __rcu *cfg80211_regdomain;
20 20
21bool reg_is_valid_request(const char *alpha2); 21bool reg_is_valid_request(const char *alpha2);
22bool is_world_regdom(const char *alpha2); 22bool is_world_regdom(const char *alpha2);
23bool reg_supported_dfs_region(u8 dfs_region); 23bool reg_supported_dfs_region(enum nl80211_dfs_regions dfs_region);
24 24
25int regulatory_hint_user(const char *alpha2, 25int regulatory_hint_user(const char *alpha2,
26 enum nl80211_user_reg_hint_type user_reg_hint_type); 26 enum nl80211_user_reg_hint_type user_reg_hint_type);