[kernel/f21] Add patch to fix wifi on X550VB machines (rhbz 1089731)
Josh Boyer
jwboyer at fedoraproject.org
Wed Oct 22 14:24:44 UTC 2014
commit e8f4af05e5e087537ea056894ec82b4e9fcdbbe3
Author: Josh Boyer <jwboyer at fedoraproject.org>
Date: Wed Oct 22 10:01:19 2014 -0400
Add patch to fix wifi on X550VB machines (rhbz 1089731)
asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch | 35 ++++++++++++++++++++++
kernel.spec | 9 +++++
2 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch b/asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch
new file mode 100644
index 0000000..1ec42f7
--- /dev/null
+++ b/asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch
@@ -0,0 +1,35 @@
+From: Stanislaw Gruszka <sgruszka at redhat.com>
+Date: Wed, 22 Oct 2014 14:32:52 +0200
+Subject: [PATCH] asus-nb-wmi: Add wapf4 quirk for the X550VB
+
+As reported here: http://bugzilla.redhat.com/show_bug.cgi?id=1089731#c23
+the X550VB needs wapf=4 too.
+
+Signed-off-by: Stanislaw Gruszka <sgruszka at redhat.com>
+---
+ drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
+index 3a4951f46065..c1a6cd66af42 100644
+--- a/drivers/platform/x86/asus-nb-wmi.c
++++ b/drivers/platform/x86/asus-nb-wmi.c
+@@ -182,6 +182,15 @@ static const struct dmi_system_id asus_quirks[] = {
+ },
+ {
+ .callback = dmi_matched,
++ .ident = "ASUSTeK COMPUTER INC. X550VB",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
++ DMI_MATCH(DMI_PRODUCT_NAME, "X550VB"),
++ },
++ .driver_data = &quirk_asus_wapf4,
++ },
++ {
++ .callback = dmi_matched,
+ .ident = "ASUSTeK COMPUTER INC. X55A",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+--
+1.9.3
+
diff --git a/kernel.spec b/kernel.spec
index 6bd81bb..9763063 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -656,6 +656,9 @@ Patch26055: Revert-Btrfs-race-free-update-of-commit-root-for-ro-.patch
#CVE-2014-8086 rhbz 1151353 1152608
Patch26056: ext4-fix-race-between-write-and-fcntl-F_SETFL.patch
+#rhbz 1089731
+Patch26058: asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch
+
# git clone ssh://git.fedorahosted.org/git/kernel-arm64.git, git diff master...devel
Patch30000: kernel-arm64.patch
@@ -1425,6 +1428,9 @@ ApplyPatch Revert-Btrfs-race-free-update-of-commit-root-for-ro-.patch
#CVE-2014-8086 rhbz 1151353 1152608
ApplyPatch ext4-fix-race-between-write-and-fcntl-F_SETFL.patch
+#rhbz 1089731
+ApplyPatch asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch
+
%if 0%{?aarch64patches}
ApplyPatch kernel-arm64.patch
%ifnarch aarch64 # this is stupid, but i want to notice before secondary koji does.
@@ -2293,6 +2299,9 @@ fi
# ||----w |
# || ||
%changelog
+* Wed Oct 22 2014 Josh Boyer <jwboyer at fedoraproject.org>
+- Add patch to fix wifi on X550VB machines (rhbz 1089731)
+
* Fri Oct 17 2014 Josh Boyer <jwboyer at fedoraproject.org> - 3.17.1-302
- CVE-2014-8086 ext4: race condition (rhbz 1151353 1152608)
More information about the scm-commits
mailing list