aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-22 18:05:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:19 -0500
commit24ed1da1337b92e3b0a89f2c2b7cd33b9a8fcb62 (patch)
treeeed6ed519de2db3aafb46d244117fb87fa56cfa1 /net/wireless
parent9a95371aa26e3cb9fb1340362912000088ff3c3e (diff)
cfg80211: allow users to help a driver's compliance
Let users be more compliant if so desired. 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 89e0d8b3cf1e..af9132cea931 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -764,8 +764,9 @@ static int freq_reg_info_regd(struct wiphy *wiphy,
764 regd = custom_regd ? custom_regd : cfg80211_regdomain; 764 regd = custom_regd ? custom_regd : cfg80211_regdomain;
765 765
766 /* Follow the driver's regulatory domain, if present, unless a country 766 /* Follow the driver's regulatory domain, if present, unless a country
767 * IE has been processed */ 767 * IE has been processed or a user wants to help complaince further */
768 if (last_request->initiator != REGDOM_SET_BY_COUNTRY_IE && 768 if (last_request->initiator != REGDOM_SET_BY_COUNTRY_IE &&
769 last_request->initiator != REGDOM_SET_BY_USER &&
769 wiphy->regd) 770 wiphy->regd)
770 regd = wiphy->regd; 771 regd = wiphy->regd;
771 772