ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 15 Nov 2016 17:54:07 +0000 (18:54 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 15 Nov 2016 17:54:07 +0000 (18:54 +0100)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c

index bb5b28f..7f7d1f9 100644 (file)
@@ -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),