summaryrefslogtreecommitdiff
path: root/cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c
blob: e6cbb08815d58ca0780feffcd5c3555f829d3322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    src/dataplane_stub.c
 * \brief   Data plane layers stub.
 * \ingroup test
 */
#include "common/std.h"

#include "cl/cl_mactotei.h"
#include "mac/pbproc/pbproc.h"
#include "cp/inc/context.h"
#include "mac/sar/inc/context.h"

void
sar_sta_remove (sar_t *ctx, u8 tei)
{
    if (MAC_TEI_IS_STA (tei))
    {
        bool ok;
        ok = mac_store_sta_remove (ctx->mac_store, tei);

        dbg_assert (ok);
    }
}