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