summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-01-15 16:05:21 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-01-15 16:05:21 +0100
commit97d910d0aaa619ca530d08e2b1125b8014ccb030 (patch)
tree625396ac9ea52d46b9153f334ed7dcec77db8ee3 /net/wireless/nl80211.c
parentf89903d53f4d39577be98940f7cfa49d66f86db5 (diff)
downloadop-kernel-dev-97d910d0aaa619ca530d08e2b1125b8014ccb030.zip
op-kernel-dev-97d910d0aaa619ca530d08e2b1125b8014ccb030.tar.gz
cfg80211: remove 80+80 MHz rate reporting
These rates are treated the same as 160 MHz in the spec, so it makes no sense to distinguish them. As no driver uses them yet, this is also not a problem, just remove them. In the userspace API the field remains reserved to preserve API and ABI. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r--net/wireless/nl80211.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 38078437..8998484 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -3614,9 +3614,6 @@ static bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,
if (info->flags & RATE_INFO_FLAGS_80_MHZ_WIDTH &&
nla_put_flag(msg, NL80211_RATE_INFO_80_MHZ_WIDTH))
return false;
- if (info->flags & RATE_INFO_FLAGS_80P80_MHZ_WIDTH &&
- nla_put_flag(msg, NL80211_RATE_INFO_80P80_MHZ_WIDTH))
- return false;
if (info->flags & RATE_INFO_FLAGS_160_MHZ_WIDTH &&
nla_put_flag(msg, NL80211_RATE_INFO_160_MHZ_WIDTH))
return false;
OpenPOWER on IntegriCloud