Removed a lot of old stuff, compiles almost w/o warnings
This commit is contained in:
@ -429,10 +429,13 @@ static struct cw_ElemHandler handlers[] = {
|
||||
CAPWAP_ELEM_RADIO_OPERATIONAL_STATE, /* Element ID */
|
||||
0, 0, /* Vendor / Proto */
|
||||
3, 3, /* min/max length */
|
||||
radio_operational_state, /* type */
|
||||
CW_TYPE_STRUCT, /* type */
|
||||
"capwap/operational-state", /* Key */
|
||||
cw_in_radio_generic_struct, /* get */
|
||||
cw_out_radio_generic_struct /* put */
|
||||
cw_in_radio_generic, /* get */
|
||||
cw_out_radio_generic, /* put */
|
||||
NULL,
|
||||
NULL,
|
||||
radio_operational_state
|
||||
}
|
||||
,
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
#include "mod_capwap.h"
|
||||
|
||||
static int init(struct cw_Mod * mod, mavl_t global_cfg, int role)
|
||||
static int init(struct cw_Mod * mod, cw_Cfg_t * global_cfg, int role)
|
||||
{
|
||||
cw_dbg(DBG_INFO,"CAPWAP: Inititalizing mod_capwap.");
|
||||
|
||||
@ -51,7 +51,7 @@ int static setup_cfg(struct cw_Conn * conn)
|
||||
|
||||
|
||||
// stop();
|
||||
// cw_ktv_set_byte(conn->local_cfg,"ac-descriptor/security",security);
|
||||
cw_cfg_set_int(conn->local_cfg,"ac-descriptor/security",security);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user