add the new ath9k driver (loads successfully on an AR9160 card, but still seems to...
[openwrt.git] / package / ath9k / patches / 120-devid.patch
1 Add missing device ID for AR9160
2
3 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
4
5 --- a/drivers/net/wireless/ath9k/hw.c
6 +++ b/drivers/net/wireless/ath9k/hw.c
7 @@ -8329,6 +8329,8 @@
8 case AR5416_DEVID_PCI:
9 case AR5416_DEVID_PCIE:
10 return "Atheros 5416";
11 + case AR9160_DEVID_PCI:
12 + return "Atheros 9160";
13 case AR9280_DEVID_PCI:
14 case AR9280_DEVID_PCIE:
15 return "Atheros 9280";
16 @@ -8350,6 +8352,7 @@
17 switch (devid) {
18 case AR5416_DEVID_PCI:
19 case AR5416_DEVID_PCIE:
20 + case AR9160_DEVID_PCI:
21 case AR9280_DEVID_PCI:
22 case AR9280_DEVID_PCIE:
23 ah = ath9k_hw_do_attach(devid, sc, mem, error);
This page took 0.040603 seconds and 5 git commands to generate.