summaryrefslogtreecommitdiff
path: root/mac80211.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 /mac80211.c
parent41b7076b70abe7567e715c300a7d8e15b302a71a (diff)
100-drop_old_api.patch
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mac80211.c b/mac80211.c
index 9dc563b..5dd369c 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -598,19 +598,11 @@ static int mwl_mac80211_get_survey(struct ieee80211_hw *hw,
return 0;
}
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0)
-static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
- struct ieee80211_vif *vif,
- enum ieee80211_ampdu_mlme_action action,
- struct ieee80211_sta *sta,
- u16 tid, u16 *ssn, u8 buf_size)
-#else
static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
enum ieee80211_ampdu_mlme_action action,
struct ieee80211_sta *sta,
u16 tid, u16 *ssn, u8 buf_size, bool amsdu)
-#endif
{
int rc = 0;
struct mwl_priv *priv = hw->priv;