2bae9358d7
FossilOrigin-Name: c53d95729c009f8f80a7d63847cef7668ff73f8af0523ab65f7734696f85399c
18 lines
499 B
C
18 lines
499 B
C
#include "capwap.h"
|
|
#include "conn.h"
|
|
#include "cwmsg.h"
|
|
|
|
int cwsend_echo_response(struct conn * conn,int seqnum,struct radioinfo * radioinfo) //,struct wtpinfo * wtpinfo)
|
|
{
|
|
//uint8_t buffer[CWMSG_MAX_SIZE];
|
|
struct cwmsg * cwmsg = &conn->swm;
|
|
cwmsg_init(cwmsg,conn->buffer,CWMSG_ECHO_RESPONSE,seqnum,radioinfo);
|
|
|
|
conn_send_response(conn,cwmsg,seqnum);
|
|
return 1;
|
|
|
|
//cwmsg_init(&cwmsg,buffer,CWMSG_ECHO_REQUEST,conn_get_next_seqnum(conn),radioinfo);
|
|
// return conn_send_cwmsg(conn,&cwmsg);
|
|
|
|
}
|