[package] mac80211: update ath9k patches
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 409-ath9k-fix-ar5416Addac_9100-values.patch
1 From 7421bd5ad39586fe58e487477e154275479b6821 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 5 Jan 2009 11:13:04 +0100
4 Subject: [PATCH v3 09/11] 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,
8 but if i change the register offset according to the 'ar5416Addac' table,
9 it works. Additionally there is no reference to the 0x98c4 elsewhere.
10
11 Changes-licensed-under: ISC
12
13 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
14 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
15 ---
16 drivers/net/wireless/ath9k/initvals.h | 2 +-
17 1 files changed, 1 insertions(+), 1 deletions(-)
18
19 --- a/drivers/net/wireless/ath9k/initvals.h
20 +++ b/drivers/net/wireless/ath9k/initvals.h
21 @@ -658,7 +658,7 @@ static const u32 ar5416Addac_9100[][2] =
22 {0x0000989c, 0x00000000 },
23 {0x0000989c, 0x00000000 },
24 {0x0000989c, 0x00000000 },
25 - {0x000098c4, 0x00000000 },
26 + {0x000098cc, 0x00000000 },
27 };
28
29 static const u32 ar5416Modes[][6] = {