/* tipc_disc_update_link_req - update frequency of periodic link setup requests @req: ptr to link request structure  */
void tipc_disc_update_link_req(struct link_req *req)
/* tipc_disc_update_link_req - update frequency of periodic link setup requests @req: ptr to link request structure  */
void tipc_disc_update_link_req(struct link_req *req)
{
	if (!req)
		return;
	if (req->timer_intv == TIPC_LINK_REQ_SLOW) {
		if (!req->bearer->nodes.count) {
			req->timer_intv = TIPC_LINK_REQ_FAST;
			k_start_timer(&req->timer, req->timer_intv);
		}
	} else if (req->timer_intv == TIPC_LINK_REQ_FAST) {
		if (req->bearer->nodes.count) {
			req->timer_intv = TIPC_LINK_REQ_SLOW;
			k_start_timer(&req->timer, req->timer_intv);
		}
	} else {
	}
}