summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-30 09:26:42 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:45 -0500
commitf130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c (patch)
tree868f78203b5f529d80a014ed2169e7eab0a260ed /net/wireless/reg.c
parent47f4d8872ffc57ad92d0fb344e677d12acc34acd (diff)
downloadlwn-f130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c.tar.gz
lwn-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.c')
-rw-r--r--net/wireless/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index f643d3981102..2323644330cd 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -57,7 +57,7 @@ static u32 supported_bandwidths[] = {
/* Central wireless core regulatory domains, we only need two,
* the current one and a world regulatory domain in case we have no
* information to give us an alpha2 */
-static const struct ieee80211_regdomain *cfg80211_regdomain;
+const struct ieee80211_regdomain *cfg80211_regdomain;
/* We use this as a place for the rd structure built from the
* last parsed country IE to rest until CRDA gets back to us with