Changeset 4613db0 in rtems-libbsd


Ignore:
Timestamp:
Nov 2, 2017, 1:34:35 PM (20 months ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
79ad952
Parents:
ee0c369
git-author:
Christian Mauderer <Christian.Mauderer@…> (11/02/17 13:34:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/10/17 12:33:03)
Message:

wpa_supplicant: Add lock.

Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • freebsd/contrib/wpa/wpa_supplicant/main.c

    ree0c369 r4613db0  
    2424#include <sys/mutex.h>
    2525#include <machine/rtems-bsd-program.h>
     26#include <machine/rtems-bsd-wpa-supplicant.h>
    2627#endif /* __rtems__ */
    2728
     
    171172        rtems_status_code sc;
    172173
    173         exit_code = rtems_bsd_program_call_main("wpa_supplicant", main, argc, argv);
     174        rtems_bsd_wpa_supplicant_lock();
     175        exit_code = rtems_bsd_program_call_main("wpa_supplicant", main,
     176            argc, argv);
     177        rtems_bsd_wpa_supplicant_unlock();
    174178
    175179        return exit_code;
  • libbsd.py

    ree0c369 r4613db0  
    120120            'rtems/rtems-kernel-thread.c',
    121121            'rtems/rtems-kernel-vprintf.c',
     122            'rtems/rtems-kernel-wpa-supplicant.c',
    122123            'rtems/rtems-legacy-rtrequest.c',
    123124            'rtems/rtems-legacy-newproc.c',
  • libbsd_waf.py

    ree0c369 r4613db0  
    23612361              'rtemsbsd/rtems/rtems-kernel-timesupport.c',
    23622362              'rtemsbsd/rtems/rtems-kernel-vprintf.c',
     2363              'rtemsbsd/rtems/rtems-kernel-wpa-supplicant.c',
    23632364              'rtemsbsd/rtems/rtems-kvm.c',
    23642365              'rtemsbsd/rtems/rtems-legacy-mii.c',
Note: See TracChangeset for help on using the changeset viewer.