From da873e7408e9c798a067d449e22edc4044e15c1d Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 17 Aug 2014 16:43:44 +0000 Subject: [PATCH] New resp and req buffers. FossilOrigin-Name: 04130bcd6a45f90b246c4876162d68cfa32642d353cf2e4b5434fee641c3763a --- src/capwap/cwsend_echo_response.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/capwap/cwsend_echo_response.c b/src/capwap/cwsend_echo_response.c index 73e75147..6a4196f7 100644 --- a/src/capwap/cwsend_echo_response.c +++ b/src/capwap/cwsend_echo_response.c @@ -5,8 +5,8 @@ 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); + struct cwmsg * cwmsg = &conn->resp_msg; + cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_ECHO_RESPONSE,seqnum,radioinfo); conn_send_response(conn,cwmsg,seqnum); return 1;