aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-15 16:58:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-15 16:58:00 +0000
commit77d5aa8844e30e70ccd203c099ae0d0b49c2675e (patch)
treecd13fa717b418bd173fa9942b1f2c83944e59c0d
parent5aebc9969b3f1f216bcd4b742555b1e7784b6a24 (diff)
downloadmaster-187ad058-77d5aa8844e30e70ccd203c099ae0d0b49c2675e.tar.gz
master-187ad058-77d5aa8844e30e70ccd203c099ae0d0b49c2675e.tar.bz2
master-187ad058-77d5aa8844e30e70ccd203c099ae0d0b49c2675e.zip
mwlwifi: fix build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48251 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/mwlwifi/patches/110-api_sync.patch19
1 files changed, 19 insertions, 0 deletions
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 = &params->ssn;
++ u8 buf_size = params->buf_size;
+ int rc = 0;
+ struct mwl_priv *priv = hw->priv;
+ struct mwl_ampdu_stream *stream;