ead: fix array overrun
[openwrt.git] / package / mac80211 / patches / 411-ath9k-fix-ar5416Addac_9100-values.patch
1 From 36e057a8e3a0a811e24d42ed4d404f23bbd18107 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 2 Jan 2009 16:16:33 +0100
4 Subject: [RFC 11/12] ath9k: fix ar5416Addac_9100 values
5
6 Writing the register at offset 0x98c4 causes a deadlock on the AR913x
7 SoCs. Although i don't have detailed knowledge about these registers, but if i
8 change the register offset according to the 'ar5416Addac' table, it
9 works. Additionally there is no reference to the 0x98c4 elsewhere.
10
11 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
12 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
13 ---
14 drivers/net/wireless/ath9k/initvals.h | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17 --- a/drivers/net/wireless/ath9k/initvals.h
18 +++ b/drivers/net/wireless/ath9k/initvals.h
19 @@ -659,7 +659,7 @@ static const u32 ar5416Addac_9100[][2] =
20 {0x0000989c, 0x00000000 },
21 {0x0000989c, 0x00000000 },
22 {0x0000989c, 0x00000000 },
23 - {0x000098c4, 0x00000000 },
24 + {0x000098cc, 0x00000000 },
25 };
26
27 /* ar5416 - howl ar5416_howl.ini */
This page took 0.047818 seconds and 5 git commands to generate.