diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-03-09 22:07:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-16 18:09:39 -0400 |
commit | 0fee54cab7d5ebc58fad8c6a0703c4ea016405e3 (patch) | |
tree | 907bc65b4dc54778f5c3281287d7610b73a4a95c /net | |
parent | 1a28c78b46caec7628985728e7f0c4aef68e33e7 (diff) | |
download | op-kernel-dev-0fee54cab7d5ebc58fad8c6a0703c4ea016405e3.zip op-kernel-dev-0fee54cab7d5ebc58fad8c6a0703c4ea016405e3.tar.gz |
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')
-rw-r--r-- | net/wireless/reg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index fa738be..47ff447 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: |