Join request for WTP.
FossilOrigin-Name: 9d1d63ed05e992d9084ef68fda5168a657c4454bc068782c0bfbbdb3ca4a7b4d
This commit is contained in:
parent
3297370f34
commit
304ee17e4f
@ -144,6 +144,22 @@ static cw_action_out_t actions_out[] = {
|
||||
.mand = 1
|
||||
}
|
||||
|
||||
,
|
||||
|
||||
/* ---------------------------------------------------------------
|
||||
* Join Request
|
||||
*/
|
||||
|
||||
/* Discovery Type - Discovery Request */
|
||||
{
|
||||
.msg_id = CW_MSG_JOIN_REQUEST,
|
||||
.elem_id = CW_ELEM_LOCATION_DATA,
|
||||
.item_id = CW_ITEM_LOCATION_DATA,
|
||||
.out = cw_out_generic,
|
||||
.get = cw_out_get_outgoing,
|
||||
.mand = 1
|
||||
}
|
||||
,
|
||||
|
||||
|
||||
|
||||
|
@ -182,8 +182,6 @@ int run_join(struct conn *conn)
|
||||
|
||||
int rc = cw_send_request(conn, CW_MSG_JOIN_REQUEST);
|
||||
|
||||
|
||||
|
||||
if (!cw_rcok(rc)) {
|
||||
if (rc > 0) {
|
||||
cw_log(LOG_ERR, "Can't Join AC at %s, AC said: %d - %s.",
|
||||
@ -244,7 +242,6 @@ int join()
|
||||
|
||||
}
|
||||
|
||||
printf("Nudel\n");
|
||||
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user