Changeset 4613db0 in rtems-libbsd for freebsd/contrib/wpa/wpa_supplicant/main.c


Ignore:
Timestamp:
Nov 2, 2017, 1:34:35 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 13421d06177df03916665bb2f3a7fcadc51a951b, d964a6703c705cc92fd053bcefc08bb3b6baa0e2, b1e67a2bdc575f7f6e0af4922d7adb91545827ca
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.

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.