diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2013-05-24 06:18:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-30 14:42:34 -0400 |
commit | ab276103357637fb26cc851369b5abbdc42afbf4 (patch) | |
tree | 468852d3715808f05e90d2ea13c9f5598a1018f8 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | a910e4a94f6923c8c988565525f017f687bf7205 (diff) |
ath9k: remove useless flag conversation.
some flags used only outside of ath9k - In this case we can use
"enum mac80211_rx_flags" and pass it upstream without extra
conversation.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 8be2b5d8c155..b4b758deb30e 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -868,10 +868,7 @@ static int ath9k_process_rate(struct ath_common *common, | |||
868 | if (rx_stats->rs_rate & 0x80) { | 868 | if (rx_stats->rs_rate & 0x80) { |
869 | /* HT rate */ | 869 | /* HT rate */ |
870 | rxs->flag |= RX_FLAG_HT; | 870 | rxs->flag |= RX_FLAG_HT; |
871 | if (rx_stats->rs_flags & ATH9K_RX_2040) | 871 | rxs->flag |= rx_stats->flag; |
872 | rxs->flag |= RX_FLAG_40MHZ; | ||
873 | if (rx_stats->rs_flags & ATH9K_RX_GI) | ||
874 | rxs->flag |= RX_FLAG_SHORT_GI; | ||
875 | rxs->rate_idx = rx_stats->rs_rate & 0x7f; | 872 | rxs->rate_idx = rx_stats->rs_rate & 0x7f; |
876 | return 0; | 873 | return 0; |
877 | } | 874 | } |