From b2e374346bea5a46c4944d9f0bf785b2445ab708 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 15 Jan 2016 16:58:00 +0000 Subject: [PATCH] mwlwifi: fix build with latest mac80211 Signed-off-by: Felix Fietkau SVN-Revision: 48251 --- .../kernel/mwlwifi/patches/110-api_sync.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/kernel/mwlwifi/patches/110-api_sync.patch diff --git a/package/kernel/mwlwifi/patches/110-api_sync.patch b/package/kernel/mwlwifi/patches/110-api_sync.patch new file mode 100644 index 0000000000..ed3e06a1c1 --- /dev/null +++ b/package/kernel/mwlwifi/patches/110-api_sync.patch @@ -0,0 +1,19 @@ +--- a/mac80211.c ++++ b/mac80211.c +@@ -597,10 +597,13 @@ static int mwl_mac80211_get_survey(struc + + 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) ++ struct ieee80211_ampdu_params *params) + { ++ enum ieee80211_ampdu_mlme_action action = params->action; ++ struct ieee80211_sta *sta = params->sta; ++ u16 tid = params->tid; ++ u16 *ssn = ¶ms->ssn; ++ u8 buf_size = params->buf_size; + int rc = 0; + struct mwl_priv *priv = hw->priv; + struct mwl_ampdu_stream *stream; -- 2.25.1