renamed capwap directory to cw.

FossilOrigin-Name: 8a43dd9d05a4cb73210243ddd8df2a26f16c7ef2c4d4e36ab446de1f65d88223
This commit is contained in:
7u83@mail.ru
2016-03-03 19:46:20 +00:00
parent 4d242d1b44
commit f4ebe841a5
309 changed files with 116 additions and 116 deletions

View File

@ -0,0 +1,18 @@
#include "capwap.h"
#include "cw_log.h"
int cw_readelem_statistics_timer(uint16_t *timer, int type, uint8_t * msgelem, int len)
{
if (type != CW_ELEM_STATISTICS_TIMER)
return 0;
if (len!=2){
cw_dbg(DBG_CW_RFC,"Statistics timer msgelem has wrong size, type=%d,len=%d",type,len);
return 0;
}
*timer=*((uint16_t*)msgelem);
return 1;
}