Got rid of mbag! Works for mod_capwap and wtp

FossilOrigin-Name: af10cb591d1e6db629c886cdbb268a2753bb93012e410e42f65b8385befb9896
This commit is contained in:
7u83@mail.ru
2018-03-17 16:29:09 +00:00
parent 5edd4ab621
commit b0b08c1f7c
143 changed files with 308 additions and 3580 deletions

View File

@ -1,10 +1,10 @@
#include "cw.h"
#include "dbg.h"
#include "capwap_items.h"
/*
int cw_radio_set_admin_state(mbag_t radios,int rid, int state, int cause)
{
mbag_t radio = mbag_i_get_mbag(radios,rid,NULL);
@ -18,11 +18,12 @@ int cw_radio_set_admin_state(mbag_t radios,int rid, int state, int cause)
return 1;
/* Set operational state for next config update response. */
// Set operational state for next config update response.
mbag_set_word(radio,CW_RADIOITEM_OPER_STATE, (state<<8) | 3);
return 1;
}
*/