WTP can join and goes into REG status on WLC

This commit is contained in:
2022-08-18 08:17:31 +02:00
parent c2cb96e5dc
commit 7420a5d2fc
6 changed files with 43 additions and 410 deletions

View File

@ -518,7 +518,7 @@ static int process_elements(struct cw_Conn *conn, uint8_t * rawmsg, int len,
result_code = cb_fun(&params,elems_ptr, elems_len);
}
else{
cw_cfg_clear(params.cfg);
cw_cfg_clear(conn->update_cfg);
}
// conn->remote_cfg=params.cfg;
@ -531,7 +531,7 @@ static int process_elements(struct cw_Conn *conn, uint8_t * rawmsg, int len,
cw_send_error_response(conn, rawmsg, result_code);
} else if (result_code == 0) {
cw_cfg_set_int(params.cfg, "result-code",
cw_cfg_set_int(conn->update_cfg, "result-code",
result_code);
if (ui->next) {
conn->capwap_prevstate = conn->capwap_state;