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 bb5b28fc052f502bda2107ba3317306f90a6de79..7f7d1f95df38926fa74bd894650644db5a9aa869 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),