Changeset 32048


Ignore:
Timestamp:
May 14, 2017, 6:21:17 PM (13 days ago)
Author:
brainslayer
Message:

bugfix

Location:
src/router/services/sysinit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit-mvebu.c

    r32047 r32048  
    177177        }
    178178
    179         if (getRouterBrand() == ROUTER_WRT_1900AC) {
     179        if (brand == ROUTER_WRT_1900AC) {
    180180                set_smp_affinity(27, 2);
    181181                set_smp_affinity(42, 2);
  • src/router/services/sysinit/sysinit.c

    r32047 r32048  
    29452945        char *next;
    29462946
    2947         sysprintf("echo usbport > /sys/class/leds/%s/trigger");
     2947        sysprintf("echo usbport > /sys/class/leds/%s/trigger", led);
    29482948
    29492949        foreach(word, ports, next) {
    2950                 sysprintf("echo 1 > /sys/class/leds/%s/ports/%s");
     2950                sysprintf("echo 1 > /sys/class/leds/%s/ports/%s", led, word);
    29512951        }
    29522952
     
    30893089
    30903090#ifdef HAVE_MVEBU
     3091        int brand = getRouterBrand();
    30913092        insmod("ledtrig-usbport");
    30923093        if (brand == ROUTER_WRT_1900AC) {
Note: See TracChangeset for help on using the changeset viewer.