rpcd: iwinfo plugin fixes
[openwrt.git] / package / kernel / mac80211 / patches / 532-ath9k_get_led_polarity_from_platform_data.patch
1 --- a/include/linux/ath9k_platform.h
2 +++ b/include/linux/ath9k_platform.h
3 @@ -36,6 +36,7 @@ struct ath9k_platform_data {
4         bool tx_gain_buffalo;
5         bool disable_2ghz;
6         bool disable_5ghz;
7 +       bool led_active_high;
8  
9         int (*get_mac_revision)(void);
10         int (*external_reset)(void);
11 --- a/drivers/net/wireless/ath/ath9k/init.c
12 +++ b/drivers/net/wireless/ath/ath9k/init.c
13 @@ -577,6 +577,7 @@ static int ath9k_init_softc(u16 devid, s
14                 ah->external_reset = pdata->external_reset;
15                 ah->disable_2ghz = pdata->disable_2ghz;
16                 ah->disable_5ghz = pdata->disable_5ghz;
17 +               ah->config.led_active_high = pdata->led_active_high;
18                 if (!pdata->endian_check)
19                         ah->ah_flags |= AH_NO_EEP_SWAP;
20         }