1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 11:04:04 +02:00
openwrt-xburst/package/ath9k/patches/120-devid.patch
nbd eca83c696e add the new ath9k driver (loads successfully on an AR9160 card, but still seems to have some rf issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-20 11:44:14 +00:00

24 lines
604 B
Diff

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);