about summary refs log tree commit diff
path: root/src/libwpactrl/wpactrl_xchg_computedeadline.c
blob: 78a3348e1b4abd598866e002085eba4db37568c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/tai.h>
#include <bcnm/wpactrl.h>

void wpactrl_xchg_computedeadline (wpactrl_xchg_t const *dt, tain *deadline)
{
  if (tain_less(&dt->deadline, deadline)) *deadline = dt->deadline ;
}