summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-31 12:28:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-31 12:28:51 +0000
commit5aaa91d3caed9b0345ae795e03c7819ddc80374a (patch)
treee64301bc4d634dce758a7b9226ca20e56007f980 /package
parentb013e4eec460680b442dc027f46fcb9ac106d917 (diff)
downloadmtk-20170518-5aaa91d3caed9b0345ae795e03c7819ddc80374a.zip
mtk-20170518-5aaa91d3caed9b0345ae795e03c7819ddc80374a.tar.gz
mtk-20170518-5aaa91d3caed9b0345ae795e03c7819ddc80374a.tar.bz2
madwifi: remove device ids for AR5416
SVN-Revision: 23730
Diffstat (limited to 'package')
-rw-r--r--package/madwifi/patches/472-remove_11n_devids.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/madwifi/patches/472-remove_11n_devids.patch b/package/madwifi/patches/472-remove_11n_devids.patch
new file mode 100644
index 0000000..cf80f06
--- /dev/null
+++ b/package/madwifi/patches/472-remove_11n_devids.patch
@@ -0,0 +1,20 @@
+--- a/ath/if_ath_pci.c
++++ b/ath/if_ath_pci.c
+@@ -111,8 +111,6 @@ static struct pci_device_id ath_pci_id_t
+ { 0x168c, 0x001b, PCI_ANY_ID, PCI_ANY_ID },
+ { 0x168c, 0x001c, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express 5424 */
+ { 0x168c, 0x001d, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express ??? */
+- { 0x168c, 0x0023, PCI_ANY_ID, PCI_ANY_ID },
+- { 0x168c, 0x0024, PCI_ANY_ID, PCI_ANY_ID },
+ { 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
+ { 0x168c, 0xff1a, PCI_ANY_ID, PCI_ANY_ID },
+ { 0 }
+@@ -146,8 +144,6 @@ static const struct ath_hw_detect cards[
+ { ubnt, "SR4C", 0x168c, 0x0013, 0x7777, 0x1004, 6 },
+ { ubnt, "SR5", 0x168c, 0x0013, 0x168c, 0x2042, 7 },
+ { ubnt, "SR9", 0x168c, 0x0013, 0x7777, 0x2009, 12 },
+- { ubnt, "SR71A", 0x168c, 0x0027, 0x168c, 0x2082, 10 },
+- { ubnt, "SR71", 0x168c, 0x0027, 0x0777, 0x4082, 10 },
+ };
+
+ static int