summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 02:05:49 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-01-30 00:01:16 +0300
commit2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4 (patch)
tree2fdfd049107d8a38adceabbe727508374e7f20fc /net/wireless/reg.c
parente74b1e7fb2f12db36f25af2158ee6e2940e4f138 (diff)
downloadlinux-2a44f911d8bac3e6c97a25cc612e4324dfbdfdc4.tar.xz
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;
}