mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
WIFI-4474-EC420-LED-Colour-Config
This patch will fix EC420 AP LED color change issue Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
This commit is contained in:
@@ -389,8 +389,8 @@ static char* get_phy_map_led_info(char* wifi)
|
||||
|
||||
static void set_primary_led_color(char *ap_name, char *led_section, char *color)
|
||||
{
|
||||
char green_leds[][10]= {"power", "wifi2g", "wifi5g", "lan", "wan", "eth0", "eth1"};
|
||||
if (!strcmp(ap_name, "wf194c") || !strcmp(ap_name, "wf6203") || !strcmp(ap_name, "ecw5410"))
|
||||
char green_leds[][10]= {"power", "wifi2g", "wifi5g", "lan", "wan", "eth0", "eth1", "status"};
|
||||
if (!strcmp(ap_name, "wf194c") || !strcmp(ap_name, "wf6203") || !strcmp(ap_name, "ecw5410") || !strcmp(ap_name, "ec420"))
|
||||
{
|
||||
unsigned int i;
|
||||
for (i = 0; i < ARRAY_SIZE(green_leds); i++) {
|
||||
|
||||
Reference in New Issue
Block a user