diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-14 11:10:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:27 -0400 |
commit | b708e610622cff07f4374a2b4410884f964b8489 (patch) | |
tree | 77aee49d680178df819437a35ba23cce9ad14e18 /net/mac80211/rx.c | |
parent | d4e46a3d9869563c6210b01bb651c40cbe65da80 (diff) |
[MAC80211]: remove turbo modes
This patch removes all mention of the atheros turbo modes that
can't possibly work properly anyway since in some places we don't
check for them when we should.
I have no idea what the iwlwifi drivers were doing with these but
it can't possibly have been correct.
Cc: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 91b7886bf797..8c6e29089216 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -94,8 +94,6 @@ ieee80211_rx_h_load_stats(struct ieee80211_txrx_data *rx) | |||
94 | * 1 usec = 1/8 * (1080 / 10) = 13.5 */ | 94 | * 1 usec = 1/8 * (1080 / 10) = 13.5 */ |
95 | 95 | ||
96 | if (mode->mode == MODE_IEEE80211A || | 96 | if (mode->mode == MODE_IEEE80211A || |
97 | mode->mode == MODE_ATHEROS_TURBO || | ||
98 | mode->mode == MODE_ATHEROS_TURBOG || | ||
99 | (mode->mode == MODE_IEEE80211G && | 97 | (mode->mode == MODE_IEEE80211G && |
100 | rate->flags & IEEE80211_RATE_ERP)) | 98 | rate->flags & IEEE80211_RATE_ERP)) |
101 | hdrtime = CHAN_UTIL_HDR_SHORT; | 99 | hdrtime = CHAN_UTIL_HDR_SHORT; |