[source] ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 15 10:26:01 PST 2016


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/7ef0d7c4fc80c32f52541950441acadbe363ca81

commit 7ef0d7c4fc80c32f52541950441acadbe363ca81
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Tue Nov 15 18:54:07 2016 +0100

    ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
index bb5b28f..7f7d1f9 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
@@ -279,6 +279,7 @@ static void __init ubnt_unifi_outdoor_plus_setup(void)
 	ath79_register_eth(0);
 	ath79_register_eth(1);
 
+	ap9x_pci_get_wmac_data(0)->ubnt_hsr = true;
 	ap91_pci_init(ee, NULL);
 
 	ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_plus_leds_gpio),



More information about the lede-commits mailing list