diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-11-13 12:54:02 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 14:52:12 -0500 |
commit | 4c7d3982a6e37831382b9ef90aa0dbadc0bf3a22 (patch) | |
tree | 4c27ee3a86f91783464daeb5353d11e22475dcff /net/wireless/reg.h | |
parent | f7d8ad81ca8c447124821e58f876d1aff996c85f (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.h | 2 |
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 | ||
21 | bool reg_is_valid_request(const char *alpha2); | 21 | bool reg_is_valid_request(const char *alpha2); |
22 | bool is_world_regdom(const char *alpha2); | 22 | bool is_world_regdom(const char *alpha2); |
23 | bool reg_supported_dfs_region(u8 dfs_region); | 23 | bool reg_supported_dfs_region(enum nl80211_dfs_regions dfs_region); |
24 | 24 | ||
25 | int regulatory_hint_user(const char *alpha2, | 25 | int 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); |