Can now set wtp name.
FossilOrigin-Name: ab369bcf8374345b1f96f85b8f1df0291e9c306fefff7c37654bf9a7a70b6f6e
This commit is contained in:
@ -1,9 +1,20 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief Implements change state event
|
||||
*/
|
||||
|
||||
#include "cwmsg.h"
|
||||
#include "capwap.h"
|
||||
#include "cw_log.h"
|
||||
#include "sock.h"
|
||||
|
||||
/**
|
||||
* Send change state event response
|
||||
* @param conn connection to use
|
||||
* @param seqnum sequence number
|
||||
* @param radioinfo radioinfo to us
|
||||
*/
|
||||
|
||||
void cwsend_change_state_event_response(struct conn * conn,int seqnum, struct radioinfo * radioinfo)
|
||||
{
|
||||
cw_dbg(DBG_CW_MSG,"Sending change state response to %s, seq = %d",sock_addr2str(&conn->addr),seqnum);
|
||||
@ -12,7 +23,7 @@ void cwsend_change_state_event_response(struct conn * conn,int seqnum, struct ra
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_CHANGE_STATE_EVENT_RESPONSE,seqnum,NULL);
|
||||
|
||||
cwmsg_addelem_result_code(cwmsg,0);
|
||||
cwmsg_addelem_radio_operational_state(cwmsg,radioinfo);
|
||||
// cwmsg_addelem_radio_operational_state(cwmsg,radioinfo);
|
||||
|
||||
conn_send_response(conn,cwmsg,seqnum);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user