Added nmissing stoppers

FossilOrigin-Name: 78b897b12ce0571ca669fb163e20518a34902eb1557b8a76b60cf6f11db58136
This commit is contained in:
7u83@mail.ru 2018-03-26 18:50:18 +00:00
parent 837bc95685
commit 3f06e4c0db
1 changed files with 33 additions and 35 deletions

View File

@ -18,13 +18,17 @@ static struct cw_ElemHandler handlers[] = {
0, 0, /* Vendor / Proto */ 0, 0, /* Vendor / Proto */
0, 0, /* min/max length */ 0, 0, /* min/max length */
NULL, /* type */ NULL, /* type */
"key", /* Key */ "wtp-radio_information", /* Key */
NULL, /* get */ NULL, /* get */
NULL /* put */ NULL /* put */
} },
{NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL}
}; };
static int discovery_request_states[] = { CAPWAP_STATE_DISCOVERY, 0 }; static int discovery_request_states[] = { CAPWAP_STATE_DISCOVERY, 0 };
static struct cw_ElemDef discovery_request_elements[] = { static struct cw_ElemDef discovery_request_elements[] = {
{0, 0, CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, 1, 0}, {0, 0, CAPWAP80211_ELEM_WTP_RADIO_INFORMATION, 1, 0},
{0, 0, 0, 0, 0} {0, 0, 0, 0, 0}
@ -37,17 +41,11 @@ static struct cw_MsgDef messages[] = {
CAPWAP_MSG_DISCOVERY_REQUEST, CAPWAP_MSG_DISCOVERY_REQUEST,
CW_RECEIVER_AC, CW_RECEIVER_AC,
discovery_request_states, discovery_request_states,
discovery_request_elements discovery_request_elements},
} {0, 0, 0, 0, 0}
}; };
struct cw_MsgSet *capwap80211_register_msgset(set, mode)
struct cw_MsgSet * capwap80211_register_msg_set(set, mode)
struct cw_MsgSet *set; struct cw_MsgSet *set;
int mode; int mode;
{ {