aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmsmac
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-04 15:07:34 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 13:01:28 +0100
commitfe7ef5e9ba0c60bab01390493a4c6790f7b093af (patch)
tree899add2d99d37b272a89c5c84eb4e1d9ba22781b /drivers/net/wireless/brcm80211/brcmsmac
parentregulatory: fix reg_is_valid_request handling (diff)
downloadlinux-dev-fe7ef5e9ba0c60bab01390493a4c6790f7b093af.tar.xz
linux-dev-fe7ef5e9ba0c60bab01390493a4c6790f7b093af.zip
regulatory: remove handling of channel bandwidth
The channel bandwidth handling isn't really quite right, it assumes that a 40 MHz channel is really two 20 MHz channels, which isn't strictly true. This is the way the regulatory database handling is defined right now though so remove the logic to handle other channel widths. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/channel.c b/drivers/net/wireless/brcm80211/brcmsmac/channel.c
index a90b72202ec5..30272519d795 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/channel.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/channel.c
@@ -686,7 +686,7 @@ brcms_reg_apply_beaconing_flags(struct wiphy *wiphy,
if (initiator == NL80211_REGDOM_SET_BY_COUNTRY_IE) {
ret = freq_reg_info(wiphy, ch->center_freq,
- 0, &rule);
+ &rule);
if (ret)
continue;