[package] mac80211: update ath9k patches
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 411-ath9k-enable-support-for-AR9100.patch
1 From c4568c6e2a62a95c95c7875643a64a19bc8c1a2f Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 5 Jan 2009 11:10:28 +0100
4 Subject: [PATCH v2 11/11] ath9k: enable support for AR9100
5
6 Because we have support for the AR9100 devices now, we can enable them.
7
8 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
9 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
10 ---
11 drivers/net/wireless/ath9k/hw.c | 3 +++
12 1 files changed, 3 insertions(+), 0 deletions(-)
13
14 --- a/drivers/net/wireless/ath9k/hw.c
15 +++ b/drivers/net/wireless/ath9k/hw.c
16 @@ -373,6 +373,8 @@ static const char *ath9k_hw_devname(u16
17 return "Atheros 5418";
18 case AR9160_DEVID_PCI:
19 return "Atheros 9160";
20 + case AR5416_AR9100_DEVID:
21 + return "Atheros 9100";
22 case AR9280_DEVID_PCI:
23 case AR9280_DEVID_PCIE:
24 return "Atheros 9280";
25 @@ -1176,6 +1178,7 @@ struct ath_hal *ath9k_hw_attach(u16 devi
26 switch (devid) {
27 case AR5416_DEVID_PCI:
28 case AR5416_DEVID_PCIE:
29 + case AR5416_AR9100_DEVID:
30 case AR9160_DEVID_PCI:
31 case AR9280_DEVID_PCI:
32 case AR9280_DEVID_PCIE: