aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-30 12:26:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:45 -0500
commitf130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c (patch)
tree868f78203b5f529d80a014ed2169e7eab0a260ed /net/wireless/reg.c
parent47f4d8872ffc57ad92d0fb344e677d12acc34acd (diff)
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[] = {
57/* Central wireless core regulatory domains, we only need two, 57/* Central wireless core regulatory domains, we only need two,
58 * the current one and a world regulatory domain in case we have no 58 * the current one and a world regulatory domain in case we have no
59 * information to give us an alpha2 */ 59 * information to give us an alpha2 */
60static const struct ieee80211_regdomain *cfg80211_regdomain; 60const struct ieee80211_regdomain *cfg80211_regdomain;
61 61
62/* We use this as a place for the rd structure built from the 62/* We use this as a place for the rd structure built from the
63 * last parsed country IE to rest until CRDA gets back to us with 63 * last parsed country IE to rest until CRDA gets back to us with