summaryrefslogtreecommitdiffstats
path: root/package/ath9k/patches/120-devid.patch
blob: d9999f262ea145422bfbf9226671ef8e1eae9456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Add missing device ID for AR9160

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

--- a/drivers/net/wireless/ath9k/hw.c
+++ b/drivers/net/wireless/ath9k/hw.c
@@ -8329,6 +8329,8 @@
 	case AR5416_DEVID_PCI:
 	case AR5416_DEVID_PCIE:
 		return "Atheros 5416";
+	case AR9160_DEVID_PCI:
+		return "Atheros 9160";
 	case AR9280_DEVID_PCI:
 	case AR9280_DEVID_PCIE:
 		return "Atheros 9280";
@@ -8350,6 +8352,7 @@
 	switch (devid) {
 	case AR5416_DEVID_PCI:
 	case AR5416_DEVID_PCIE:
+	case AR9160_DEVID_PCI:
 	case AR9280_DEVID_PCI:
 	case AR9280_DEVID_PCIE:
 		ah = ath9k_hw_do_attach(devid, sc, mem, error);