Changeset 32668


Ignore:
Timestamp:
Jul 11, 2017, 1:31:42 AM (2 weeks ago)
Author:
brainslayer
Message:

fixes

Location:
src/router/services
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/mssid.c

    r29281 r32668  
    3636#include <wlutils.h>
    3737#include <services.h>
     38#include <utils.h>
    3839
    3940#define IFUP (IFF_UP | IFF_RUNNING | IFF_BROADCAST | IFF_MULTICAST)
  • src/router/services/tools/site_survey_broadcom.c

    r32590 r32668  
    535535        FILE *fp;
    536536
    537         bzero(site_survey_lists, sizeof(site_survey_lists));
     537        bzero(site_survey_lists, sizeof(site_survey_lists) * SITE_SURVEY_NUM);
    538538
    539539        if ((fp = fopen(SITE_SURVEY_DB, "r"))) {
  • src/router/services/tools/site_survey_mac80211.c

    r32590 r32668  
    15351535{
    15361536        FILE *fp;
    1537         bzero(site_survey_lists, sizeof(site_survey_lists));
     1537        bzero(site_survey_lists, sizeof(site_survey_lists) * SITE_SURVEY_NUM);
    15381538        if ((fp = fopen(SITE_SURVEY_DB, "r"))) {
    15391539                fread(&site_survey_lists[0], sizeof(struct site_survey_list) * SITE_SURVEY_NUM, 1, fp);
  • src/router/services/tools/site_survey_madwifi.c

    r32590 r32668  
    304304        FILE *fp;
    305305
    306         bzero(site_survey_lists, sizeof(site_survey_lists));
     306        bzero(site_survey_lists, sizeof(site_survey_lists) * SITE_SURVEY_NUM);
    307307
    308308        if ((fp = fopen(SITE_SURVEY_DB, "r"))) {
  • src/router/services/tools/site_survey_ralink.c

    r32590 r32668  
    226226        FILE *fp;
    227227
    228         bzero(site_survey_lists, sizeof(site_survey_lists));
     228        bzero(site_survey_lists, sizeof(site_survey_lists) * SITE_SURVEY_NUM);
    229229
    230230        if ((fp = fopen(SITE_SURVEY_DB, "r"))) {
Note: See TracChangeset for help on using the changeset viewer.