From e801861aace65df48b12b3e870617bda866ef117 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 3 Aug 2014 11:32:32 +0000 Subject: [PATCH] Moved cw_readelem_ecn_suport out to a separate file. FossilOrigin-Name: 159f5b1387f0e70b5e19366fe46216cfa1541040964378304e47636abbd34f2f --- src/capwap/wtpinfo.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/capwap/wtpinfo.c b/src/capwap/wtpinfo.c index 537fdefa..7c256902 100644 --- a/src/capwap/wtpinfo.c +++ b/src/capwap/wtpinfo.c @@ -9,19 +9,6 @@ #include "cw_log.h" -int cw_readelem_ecn_support(uint8_t *ecn_support, int type, uint8_t * msgelem, int len) -{ - if (type != CWMSGELEM_ECN_SUPPORT) - return 0; - - if (len!=1){ - cw_log_debug0("Discarding ECN_SUPPORT msgelem, wrong size, type=%d,len=%d",type,len); - return 1; - } - *ecn_support=*msgelem; - return 1; -} - /* int wtpinfo_readelem_ecn_support(struct wtpinfo * wtpinfo, int type, uint8_t * msgelem, int len) {