Changeset 33098


Ignore:
Timestamp:
Aug 10, 2017, 9:12:09 PM (11 days ago)
Author:
brainslayer
Message:

fix for brcm devices

Location:
src/router/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/include/services.h

    r33092 r33098  
    269269void stop_mkfiles(void);
    270270void stop_ipv6(void);
     271
     272void start_wlconf(void);
     273void stop_wlconf(void);
     274void start_emf(void);
     275void stop_emf(void);
  • src/router/services/sysinit/init.c

    r33092 r33098  
    2525#include <shutils.h>
    2626#include <utils.h>
     27#include <wlutils.h>
    2728#include <services.h>
    2829#include <sys/stat.h>
     30
     31extern int file2nvram(char *filename, char *varname);
     32extern int nvram2file(char *varname, char *filename);
     33
     34extern void fwritenvram(char *var, FILE * fp);
     35extern void writenvram(char *var, char *file);
    2936
    3037#define start_single_service() eval("start_single_service");
     
    6269
    6370#if !defined(HAVE_MADWIFI) && !defined(HAVE_RT2880)
     71        int c;
    6472        for (c = 0; c < cnt; c++) {
    6573                eval("wlconf", get_wl_instance_name(c), "down");
     
    8997        stop_radio_timer();
    9098#if !defined(HAVE_MADWIFI) && !defined(HAVE_RT2880)
    91         stop_service("nas");
     99        stop_nas();
    92100#endif
    93101        cprintf("STOP WAN\n");
Note: See TracChangeset for help on using the changeset viewer.