ar71xx/cpe510: use second wifi calibration table
authorAlexander Couzens <lynxis@fe80.eu>
Mon, 23 May 2016 01:23:54 +0000 (03:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 11:39:50 +0000 (13:39 +0200)
The cpe510 has two calibration tables. The first calibration
table requires to modify ath9k driver to work (patched tx gain table).

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c

index 74daf43..875589d 100644 (file)
@@ -117,7 +117,7 @@ static void __init cpe210_setup(void)
 static void __init cpe510_setup(void)
 {
        u8 *mac = (u8 *) KSEG1ADDR(0x1f830008);
-       u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
+       u8 *ee = (u8 *) KSEG1ADDR(0x1fff5000);
 
        cpe_setup(mac);