Ren CW_MSG_DISCOVERY... -> CAPWAP_MSG_DISCOVERY...
FossilOrigin-Name: 1a59f66389b747cd2a70a3ce4c187e61ba256fa8364df4fed6879bb0ba368a1a
This commit is contained in:
@ -28,7 +28,7 @@ static cw_action_in_t actions_ac_in[] = {
|
||||
/* 802.11 Radio Information - Discovery Request */
|
||||
{
|
||||
.capwap_state = CW_STATE_DISCOVERY,
|
||||
.msg_id = CW_MSG_DISCOVERY_REQUEST,
|
||||
.msg_id = CAPWAP_MSG_DISCOVERY_REQUEST,
|
||||
.elem_id = CW_ELEM80211_WTP_RADIO_INFORMATION,
|
||||
.item_id = CW_RADIOITEM80211_WTP_RADIO_INFORMATION,
|
||||
.start = cw_in_radio_generic,
|
||||
|
@ -72,7 +72,7 @@ cw_action_out_t actions_out[]={
|
||||
|
||||
/* 802.11 Radio Information - Discovery Request */
|
||||
{
|
||||
.msg_id = CW_MSG_DISCOVERY_REQUEST,
|
||||
.msg_id = CAPWAP_MSG_DISCOVERY_REQUEST,
|
||||
.item_id = CW_ITEM_RADIO_INFOS ,
|
||||
.elem_id = CW_ELEM80211_WTP_RADIO_INFORMATION,
|
||||
.out = cw_out_radio_infos,
|
||||
|
@ -31,8 +31,8 @@ static int detect(struct conn *conn, const uint8_t * rawmsg, int rawlen, int ele
|
||||
return 0;
|
||||
|
||||
int wbid = cw_get_hdr_wbid(rawmsg);
|
||||
if (wbid != CW_WBID_IEEE80211 ) {
|
||||
cw_dbg(DBG_MOD,"CAPWAP80211 detected: no, my wbid=%d, remote wbid=%d",CW_WBID_IEEE80211,wbid);
|
||||
if (wbid != CAPWAP_WBID_IEEE80211 ) {
|
||||
cw_dbg(DBG_MOD,"CAPWAP80211 detected: no, my wbid=%d, remote wbid=%d",CAPWAP_WBID_IEEE80211,wbid);
|
||||
return 0;
|
||||
}
|
||||
cw_dbg(DBG_MOD,"CAPWAP80211 detected: yes");
|
||||
|
Reference in New Issue
Block a user