summaryrefslogtreecommitdiff
path: root/rx.c
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2016-05-31 09:33:07 +0200
committerBjørn Mork <bjorn@mork.no>2016-05-31 10:13:44 +0200
commitdc51ee3d331b7701f891f3a5799dcc4bd44b1953 (patch)
tree0f58d693e0aa4edc0f1048f84aab6767fa379dc2 /rx.c
parent41b7076b70abe7567e715c300a7d8e15b302a71a (diff)
100-drop_old_api.patch
Diffstat (limited to 'rx.c')
-rw-r--r--rx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rx.c b/rx.c
index d71ea2d..258818a 100644
--- a/rx.c
+++ b/rx.c
@@ -232,10 +232,8 @@ static inline void mwl_rx_prepare_status(struct mwl_rx_desc *pdesc,
status->flag |= RX_FLAG_VHT;
if (bw == RX_RATE_INFO_HT40)
status->flag |= RX_FLAG_40MHZ;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(3, 18, 0)
if (bw == RX_RATE_INFO_HT80)
status->vht_flag |= RX_VHT_FLAG_80MHZ;
-#endif
if (gi == RX_RATE_INFO_SHORT_INTERVAL)
status->flag |= RX_FLAG_SHORT_GI;
status->vht_nss = (nss + 1);