actube/src/capwap/cwmsg_addelem_result_code.c
7u83@mail.ru 08f7697ccc More Cisco and LWAP specific stuff added.
WTP cann connect to a WLC and wait for and dump config update requests.

FossilOrigin-Name: 5b69ac4d9fd9f9a54395fe24de3456fff3bb76458d64c863d3cb7245dbda629c
2015-03-29 00:55:06 +00:00

11 lines
180 B
C

#include "capwap.h"
void cwmsg_addelem_result_code(struct cwmsg *msg,int rc)
{
uint8_t c[4];
*((uint32_t*)c)= htonl(rc);
cwmsg_addelem(msg,CW_ELEM_RESULT_CODE,c,4);
}