From 9130ba35ea4e3c09ead64a7f5eb57aaf5b0694a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 30 Jan 2014 13:21:36 +0000 Subject: mac80211: update to wireless-testing 2014-01-23 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39427 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../mac80211/patches/513-ath9k_add_pci_ids.patch | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch') diff --git a/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch b/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch index cae555a4ba..806865052f 100644 --- a/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch +++ b/package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch @@ -1,26 +1,26 @@ --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -682,6 +682,7 @@ int ath9k_hw_init(struct ath_hw *ah) - case AR9300_DEVID_AR9462: - case AR9485_DEVID_AR1111: - case AR9300_DEVID_AR9565: +@@ -518,6 +518,7 @@ static int __ath9k_hw_init(struct ath_hw + ath9k_hw_read_revisions(ah); + + switch (ah->hw_version.macVersion) { + case AR9300_DEVID_INVALID: - break; - default: - if (common->bus_ops->ath_bus_type == ATH_USB) + case AR_SREV_VERSION_5416_PCI: + case AR_SREV_VERSION_5416_PCIE: + case AR_SREV_VERSION_9160: --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -52,6 +52,7 @@ - #define AR9300_DEVID_QCA955X 0x0038 - #define AR9485_DEVID_AR1111 0x0037 - #define AR9300_DEVID_AR9565 0x0036 -+#define AR9300_DEVID_INVALID 0xabcd +@@ -34,6 +34,7 @@ - #define AR5416_AR9100_DEVID 0x000b + #define ATHEROS_VENDOR_ID 0x168c ++#define AR9300_DEVID_INVALID 0xabcd + #define AR5416_DEVID_PCI 0x0023 + #define AR5416_DEVID_PCIE 0x0024 + #define AR9160_DEVID_PCI 0x0027 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c -@@ -550,6 +550,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i +@@ -658,6 +658,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i { PCI_VDEVICE(ATHEROS, 0x0036), .driver_data = ATH9K_PCI_BT_ANT_DIV }, -- cgit v1.2.3