summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Voegele2017-01-06 12:34:41 -0600
committerChad Voegele2017-01-06 12:34:41 -0600
commit941fafd2b8e964fffabb65a19c9389520b33272f (patch)
tree605752e3044e373a4240bdf7036f55931d8782fb
parent56448011ec7ba8a44800e73841bf11f5fbc32e68 (diff)
downloadaur-941fafd2b8e964fffabb65a19c9389520b33272f.tar.gz
Add patch for mwifiex to improve stability.
From https://bugzilla.kernel.org/show_bug.cgi?id=188351.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rw-r--r--mwifiex_11n_aggr.patch10
3 files changed, 22 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ddf0d215e2..912b6378de7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Jan 4 22:43:39 UTC 2017
+# Fri Jan 6 18:34:16 UTC 2017
pkgbase = linux-surface3-git
- pkgver = 4.10rc2.r43.g62f8c40
- pkgrel = 2
+ pkgver = 4.10rc2.r207.g88ba6ca
+ pkgrel = 1
url = http://www.kernel.org/
arch = i686
arch = x86_64
@@ -22,6 +22,7 @@ pkgbase = linux-surface3-git
source = 0001-power-MSHW0011-rev-eng-implementation.patch
source = 0002-power-surface3_power-Improve-battery-capacity-report.patch
source = 0001-gpiolib-acpi-make-sure-we-trigger-the-events-at-leas.patch
+ source = mwifiex_11n_aggr.patch
sha256sums = SKIP
sha256sums = becc0c98cff692dee9500f19d38882636caf4c58d5086c7725690a245532f5dc
sha256sums = 2bf64f96aa977a996d2aaeeb249a266a7c6f83483d49a31a23e595cd895f0846
@@ -29,6 +30,7 @@ pkgbase = linux-surface3-git
sha256sums = 8fb00d96cb11ef3d9c250d6a5389c7eaf9f71d1259fb0a2cd210bf707adb8a71
sha256sums = 62eeb51c1ee81c2545fa0c1ac5a2b8f4a112ede4113095ce2ea4a66d07059734
sha256sums = abae4abc0495026b35b982b426207e7cbad4bf5314a1e706fa295c7f91886307
+ sha256sums = 4620e60b50e1c478b571f3a634e3bb5b839ff4bfdfeb358300d19d598dbf51cd
pkgname = linux-surface3-git
pkgdesc = The Linux kernel and modules (git version)
diff --git a/PKGBUILD b/PKGBUILD
index 8d18686d79f..35f8753681b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,8 @@
pkgbase=linux-surface3-git
_srcname=linux
-pkgver=4.10rc2.r43.g62f8c40
-pkgrel=2
+pkgver=4.10rc2.r207.g88ba6ca
+pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -27,16 +27,17 @@ source=(
"0001-power-MSHW0011-rev-eng-implementation.patch"
"0002-power-surface3_power-Improve-battery-capacity-report.patch"
"0001-gpiolib-acpi-make-sure-we-trigger-the-events-at-leas.patch"
+ # From https://bugzilla.kernel.org/show_bug.cgi?id=188351
+ "mwifiex_11n_aggr.patch"
)
-sha256sums=(
- 'SKIP'
+sha256sums=('SKIP'
'becc0c98cff692dee9500f19d38882636caf4c58d5086c7725690a245532f5dc'
'2bf64f96aa977a996d2aaeeb249a266a7c6f83483d49a31a23e595cd895f0846'
'95fcfdfcb9d540d1a1428ce61e493ddf2c2a8ec96c8573deeadbb4ee407508c7'
'8fb00d96cb11ef3d9c250d6a5389c7eaf9f71d1259fb0a2cd210bf707adb8a71'
'62eeb51c1ee81c2545fa0c1ac5a2b8f4a112ede4113095ce2ea4a66d07059734'
'abae4abc0495026b35b982b426207e7cbad4bf5314a1e706fa295c7f91886307'
- )
+ '4620e60b50e1c478b571f3a634e3bb5b839ff4bfdfeb358300d19d598dbf51cd')
_kernelname=${pkgbase#linux}
@@ -67,6 +68,7 @@ prepare() {
patch -p1 < ${srcdir}/0001-power-MSHW0011-rev-eng-implementation.patch
patch -p1 < ${srcdir}/0002-power-surface3_power-Improve-battery-capacity-report.patch
patch -p1 < ${srcdir}/0001-gpiolib-acpi-make-sure-we-trigger-the-events-at-leas.patch
+ patch -p1 < ${srcdir}/mwifiex_11n_aggr.patch
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
diff --git a/mwifiex_11n_aggr.patch b/mwifiex_11n_aggr.patch
new file mode 100644
index 00000000000..5bf4cbad106
--- /dev/null
+++ b/mwifiex_11n_aggr.patch
@@ -0,0 +1,10 @@
+--- a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
++++ b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
+@@ -190,7 +190,6 @@
+ ra_list_flags);
+ return -1;
+ }
+- skb_reserve(skb_aggr, MWIFIEX_MIN_DATA_HEADER_LEN);
+ tx_info_aggr = MWIFIEX_SKB_TXCB(skb_aggr);
+
+ memset(tx_info_aggr, 0, sizeof(*tx_info_aggr));