OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -627,6 +627,12 @@ static int ath9k_of_init(struct ath_soft
4  
5 ath_dbg(common, CONFIG, "parsing configuration from OF node\n");
6  
7 + if (of_property_read_bool(np, "qca,disable-2ghz"))
8 + ah->disable_2ghz = true;
9 +
10 + if (of_property_read_bool(np, "qca,disable-5ghz"))
11 + ah->disable_5ghz = true;
12 +
13 if (of_property_read_bool(np, "qca,no-eeprom")) {
14 /* ath9k-eeprom-<bus>-<id>.bin */
15 scnprintf(eeprom_name, sizeof(eeprom_name),