summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-03-10 03:07:40 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-16 23:09:39 +0100
commit0fee54cab7d5ebc58fad8c6a0703c4ea016405e3 (patch)
tree907bc65b4dc54778f5c3281287d7610b73a4a95c /net/wireless
parentmac80211: deauth before flushing STA information (diff)
downloadlinux-0fee54cab7d5ebc58fad8c6a0703c4ea016405e3.tar.xz
linux-0fee54cab7d5ebc58fad8c6a0703c4ea016405e3.zip
cfg80211: remove REGDOM_SET_BY_INIT
This is not used as we can always just assume the first regulatory domain set will _always_ be a static regulatory domain. REGDOM_SET_BY_CORE will be the first request from cfg80211 for a regdomain and that then populates the first regulatory request. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index fa738be897a3..47ff44751b70 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1255,8 +1255,6 @@ static int ignore_request(struct wiphy *wiphy,
return 0;
switch (pending_request->initiator) {
- case REGDOM_SET_BY_INIT:
- return -EINVAL;
case REGDOM_SET_BY_CORE:
return -EINVAL;
case REGDOM_SET_BY_COUNTRY_IE: