mac80211: update to wireless-testing 2016-05-12
[openwrt/staging/mkresin.git] / package / kernel / mac80211 / patches / 547-ath9k_led_defstate_fix.patch
index db0b61996f8bf0e4f7f964ea0854c52fe819a860..5d84cf0c423a6138b0a48305006202f00e4bbdef 100644 (file)
@@ -13,9 +13,9 @@ Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
 
 --- a/drivers/net/wireless/ath/ath9k/gpio.c
 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
-@@ -54,8 +54,11 @@ static int ath_add_led(struct ath_softc
-       ath9k_hw_cfg_output(sc->sc_ah, gpio->gpio,
-                           AR_GPIO_OUTPUT_MUX_AS_OUTPUT);
+@@ -74,8 +74,11 @@ static int ath_add_led(struct ath_softc
+       ath9k_hw_gpio_request_out(sc->sc_ah, gpio->gpio, gpio->name,
+                                 AR_GPIO_OUTPUT_MUX_AS_OUTPUT);
  
 -      /* LED off */
 -      ath9k_hw_set_gpio(sc->sc_ah, gpio->gpio, gpio->active_low);