diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-01-30 09:26:42 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:45 -0500 |
commit | f130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c (patch) | |
tree | 868f78203b5f529d80a014ed2169e7eab0a260ed /net/wireless/reg.h | |
parent | 47f4d8872ffc57ad92d0fb344e677d12acc34acd (diff) | |
download | linux-stable-f130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c.tar.gz linux-stable-f130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c.tar.bz2 linux-stable-f130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c.zip |
cfg80211: add get reg command
This lets userspace request to get the currently set
regulatory domain.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r-- | net/wireless/reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h index eb1dd5bc9b27..fe8c83f34fb7 100644 --- a/net/wireless/reg.h +++ b/net/wireless/reg.h @@ -1,6 +1,8 @@ #ifndef __NET_WIRELESS_REG_H #define __NET_WIRELESS_REG_H +extern const struct ieee80211_regdomain *cfg80211_regdomain; + bool is_world_regdom(const char *alpha2); bool reg_is_valid_request(const char *alpha2); |