Search Linux Wireless

[PATCH] leds: Increase trigger name maximum size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my HP dv2815 laptop, the total length of the triggers for my b43legacy
wireless device exceeds the maximum value of 50 defined in
include/linux/leds.h. As a result, the list is garbled.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
---

Richard,

This is 2.6.31 material.

Larry
---

Index: wireless-testing/include/linux/leds.h
===================================================================
--- wireless-testing.orig/include/linux/leds.h
+++ wireless-testing/include/linux/leds.h
@@ -74,7 +74,7 @@ extern void led_classdev_resume(struct l
  */
 #ifdef CONFIG_LEDS_TRIGGERS
 
-#define TRIG_NAME_MAX 50
+#define TRIG_NAME_MAX 70
 
 struct led_trigger {
 	/* Trigger Properties */
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux