Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/37-led-max-brightness.patch | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 patches/37-led-max-brightness.patch diff --git a/patches/37-led-max-brightness.patch b/patches/37-led-max-brightness.patch new file mode 100644 index 0000000..ef684b5 --- /dev/null +++ b/patches/37-led-max-brightness.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/iwlwifi/iwl-led.c ++++ b/drivers/net/wireless/iwlwifi/iwl-led.c +@@ -149,7 +149,9 @@ void iwl_leds_init(struct iwl_priv *priv + wiphy_name(priv->hw->wiphy)); + priv->led.brightness_set = iwl_led_brightness_set; + priv->led.blink_set = iwl_led_blink_set; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30) + priv->led.max_brightness = 1; ++#endif + + switch (mode) { + case IWL_LED_DEFAULT: -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html