summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-22 15:05:49 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:16 -0500
commit2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4 (patch)
tree2fdfd049107d8a38adceabbe727508374e7f20fc /net/wireless/reg.c
parente74b1e7fb2f12db36f25af2158ee6e2940e4f138 (diff)
downloadlinux-stable-2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4.tar.gz
linux-stable-2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4.tar.bz2
linux-stable-2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4.zip
cfg80211: rename fw_handles_regulatory to custom_regulatory
Drivers without firmware can also have custom regulatory maps which do not map to a specific ISO / IEC alpha2 country code. 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 c201abd38ad1..5db02a3d9c02 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -927,7 +927,7 @@ static bool ignore_reg_update(struct wiphy *wiphy, enum reg_set_by setby)
if (!last_request)
return true;
if (setby == REGDOM_SET_BY_CORE &&
- wiphy->fw_handles_regulatory)
+ wiphy->custom_regulatory)
return true;
return false;
}