ead: fix array overrun
[openwrt.git] / package / mac80211 / patches / 409-ath9k-enable-support-for-AR9100.patch
1 From 35c21a4ce13a08030f3acb491f353ad959873fe2 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 2 Jan 2009 16:14:41 +0100
4 Subject: [RFC 09/12] 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 @@ -389,6 +389,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 @@ -1192,6 +1194,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:
This page took 0.051634 seconds and 5 git commands to generate.