]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.4.13/ath5k-change-led-pin-configuration-for-compaq-c700-laptop.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.4.13 / ath5k-change-led-pin-configuration-for-compaq-c700-laptop.patch
CommitLineData
375caec0
GKH
1From 7b9bc799a445aea95f64f15e0083cb19b5789abe Mon Sep 17 00:00:00 2001
2From: Joseph Salisbury <joseph.salisbury@canonical.com>
3Date: Mon, 14 Mar 2016 14:51:48 -0400
4Subject: ath5k: Change led pin configuration for compaq c700 laptop
5
6From: Joseph Salisbury <joseph.salisbury@canonical.com>
7
8commit 7b9bc799a445aea95f64f15e0083cb19b5789abe upstream.
9
10BugLink: http://bugs.launchpad.net/bugs/972604
11
12Commit 09c9bae26b0d3c9472cb6ae45010460a2cee8b8d ("ath5k: add led pin
13configuration for compaq c700 laptop") added a pin configuration for the Compaq
14c700 laptop. However, the polarity of the led pin is reversed. It should be
15red for wifi off and blue for wifi on, but it is the opposite. This bug was
16reported in the following bug report:
17http://pad.lv/972604
18
19Fixes: 09c9bae26b0d3c9472cb6ae45010460a2cee8b8d ("ath5k: add led pin configuration for compaq c700 laptop")
20Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
21Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
22Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23
24---
25 drivers/net/wireless/ath/ath5k/led.c | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28--- a/drivers/net/wireless/ath/ath5k/led.c
29+++ b/drivers/net/wireless/ath/ath5k/led.c
30@@ -77,7 +77,7 @@ static const struct pci_device_id ath5k_
31 /* HP Compaq CQ60-206US (ddreggors@jumptv.com) */
32 { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137a), ATH_LED(3, 1) },
33 /* HP Compaq C700 (nitrousnrg@gmail.com) */
34- { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137b), ATH_LED(3, 1) },
35+ { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137b), ATH_LED(3, 0) },
36 /* LiteOn AR5BXB63 (magooz@salug.it) */
37 { ATH_SDEVICE(PCI_VENDOR_ID_ATHEROS, 0x3067), ATH_LED(3, 0) },
38 /* IBM-specific AR5212 (all others) */