1 --- a/arch/mips/ath79/dev-wmac.c
2 +++ b/arch/mips/ath79/dev-wmac.c
3 @@ -287,6 +287,16 @@ bool __init ar93xx_wmac_read_mac_address
7 +void __init ath79_wmac_disable_2ghz(void)
9 + ath79_wmac_data.disable_2ghz = true;
12 +void __init ath79_wmac_disable_5ghz(void)
14 + ath79_wmac_data.disable_5ghz = true;
17 void __init ath79_register_wmac(u8 *cal_data, u8 *mac_addr)
20 --- a/arch/mips/ath79/dev-wmac.h
21 +++ b/arch/mips/ath79/dev-wmac.h
24 void ath79_register_wmac(u8 *cal_data, u8 *mac_addr);
25 void ath79_register_wmac_simple(void);
26 +void ath79_wmac_disable_2ghz(void);
27 +void ath79_wmac_disable_5ghz(void);
29 bool ar93xx_wmac_read_mac_address(u8 *dest);
31 #endif /* _ATH79_DEV_WMAC_H */