summaryrefslogtreecommitdiff
path: root/src/libwpactrl/wpactrl_xchg_computedeadline.c
blob: baaac7722e432a7b72fa559696f1bcbf726af2a8 (plain)
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_t *deadline)
{
  if (tain_less(&dt->deadline, deadline)) *deadline = dt->deadline ;
}