diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-21 03:57:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:42 -0400 |
commit | f3b407fba52e1b86ca286ee7c218a4fb00bd29e0 (patch) | |
tree | df5c4fce124d0792e4a52aa269f42cb734cefb12 /net/wireless/reg.c | |
parent | cf03268e6ed6cfacaa5e32db41ea832c4d10438b (diff) |
wireless: remove cfg80211_reg_mutex
This mutex is wrong, we use cfg80211_drv_mutex (which should
possibly be renamed to just cfg80211_mutex) everywhere except
in one place, fix that and get rid of the extra mutex.
Also get rid of a spurious regulatory_requests list definition.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 626dbb688499..581273d86844 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -52,7 +52,6 @@ struct regulatory_request { | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | static LIST_HEAD(regulatory_requests); | 54 | static LIST_HEAD(regulatory_requests); |
55 | DEFINE_MUTEX(cfg80211_reg_mutex); | ||
56 | 55 | ||
57 | /* To trigger userspace events */ | 56 | /* To trigger userspace events */ |
58 | static struct platform_device *reg_pdev; | 57 | static struct platform_device *reg_pdev; |
@@ -63,8 +62,6 @@ static u32 supported_bandwidths[] = { | |||
63 | MHZ_TO_KHZ(20), | 62 | MHZ_TO_KHZ(20), |
64 | }; | 63 | }; |
65 | 64 | ||
66 | static struct list_head regulatory_requests; | ||
67 | |||
68 | /* Central wireless core regulatory domains, we only need two, | 65 | /* Central wireless core regulatory domains, we only need two, |
69 | * the current one and a world regulatory domain in case we have no | 66 | * the current one and a world regulatory domain in case we have no |
70 | * information to give us an alpha2 */ | 67 | * information to give us an alpha2 */ |