Initial commit
FossilOrigin-Name: c53d95729c009f8f80a7d63847cef7668ff73f8af0523ab65f7734696f85399c
This commit is contained in:
19
src/capwap/wtpinfo_readelem_location_data.c
Normal file
19
src/capwap/wtpinfo_readelem_location_data.c
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
#include "wtpinfo.h"
|
||||
#include "capwap.h"
|
||||
|
||||
#include "cw_util.h"
|
||||
#include "cw_log.h"
|
||||
|
||||
|
||||
int wtpinfo_readelem_location_data(struct wtpinfo * wtpinfo, int type, uint8_t * msgelem, int len)
|
||||
{
|
||||
if (type != CWMSGELEM_LOCATION_DATA)
|
||||
return 0;
|
||||
|
||||
cw_setstr(&wtpinfo->location,msgelem,len);
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user