diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-15 10:02:46 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-15 10:02:46 -0500 |
commit | f89903d53f4d39577be98940f7cfa49d66f86db5 (patch) | |
tree | c986d12d7d500ad859280c133607f063a1323c48 /net/mac80211/cfg.c | |
parent | baf1b99ba169bdd3324ac9d99bc2a00c25534429 (diff) |
mac80211: 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.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index fd6860d7f557..6d5076fbf87a 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -465,8 +465,6 @@ void sta_set_rate_info_rx(struct sta_info *sta, struct rate_info *rinfo) | |||
465 | rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; | 465 | rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; |
466 | if (sta->last_rx_rate_vht_flag & RX_VHT_FLAG_80MHZ) | 466 | if (sta->last_rx_rate_vht_flag & RX_VHT_FLAG_80MHZ) |
467 | rinfo->flags |= RATE_INFO_FLAGS_80_MHZ_WIDTH; | 467 | rinfo->flags |= RATE_INFO_FLAGS_80_MHZ_WIDTH; |
468 | if (sta->last_rx_rate_vht_flag & RX_VHT_FLAG_80P80MHZ) | ||
469 | rinfo->flags |= RATE_INFO_FLAGS_80P80_MHZ_WIDTH; | ||
470 | if (sta->last_rx_rate_vht_flag & RX_VHT_FLAG_160MHZ) | 468 | if (sta->last_rx_rate_vht_flag & RX_VHT_FLAG_160MHZ) |
471 | rinfo->flags |= RATE_INFO_FLAGS_160_MHZ_WIDTH; | 469 | rinfo->flags |= RATE_INFO_FLAGS_160_MHZ_WIDTH; |
472 | } | 470 | } |