From 1a553bfb3c291e92e82ef77f18ffce6798556a40 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Oct 22 2014 14:24:23 +0000 Subject: Add patch to fix wifi on X550VB machines (rhbz 1089731) --- 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..bda45f2 --- /dev/null +++ b/asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch @@ -0,0 +1,32 @@ +From: Stanislaw Gruszka +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 +--- + 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 ddf0eef..0f9a0e4 100644 +--- a/drivers/platform/x86/asus-nb-wmi.c ++++ b/drivers/platform/x86/asus-nb-wmi.c +@@ -146,6 +146,15 @@ static 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_x401u, ++ }, ++ { ++ .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X55A", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), diff --git a/kernel.spec b/kernel.spec index 3fcb275..b905f90 100644 --- a/kernel.spec +++ b/kernel.spec @@ -739,6 +739,9 @@ Patch26042: fs-Add-a-missing-permission-check-to-do_umount.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 @@ -1446,6 +1449,9 @@ ApplyPatch fs-Add-a-missing-permission-check-to-do_umount.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. @@ -2264,6 +2270,9 @@ fi # ||----w | # || || %changelog +* Wed Oct 22 2014 Josh Boyer +- Add patch to fix wifi on X550VB machines (rhbz 1089731) + * Fri Oct 17 2014 Josh Boyer - CVE-2014-8086 ext4: race condition (rhbz 1151353 1152608)