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

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

wparesponse_t wpactrl_removenetwork (wpactrl_t *a, uint32_t id, tain_t *stamp)
{
  char buf[15 + UINT32_FMT] = "REMOVE_NETWORK " ;
  buf[15 + uint32_fmt(buf + 15, id)] = 0 ;
  return wpactrl_command(a, buf, stamp) ;
}