From e8f4af05e5e087537ea056894ec82b4e9fcdbbe3 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Oct 22 2014 14:01:19 +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..1ec42f7 --- /dev/null +++ b/asus-nb-wmi-Add-wapf4-quirk-for-the-X550VB.patch @@ -0,0 +1,35 @@ +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 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 +- Add patch to fix wifi on X550VB machines (rhbz 1089731) + * Fri Oct 17 2014 Josh Boyer - 3.17.1-302 - CVE-2014-8086 ext4: race condition (rhbz 1151353 1152608)