/* The following routines are taken from page 170 of the 7th ARRL Computer Networking Conference paper, as is the whole state machine.  */
void rose_enquiry_response(struct sock *sk)
/* The following routines are taken from page 170 of the 7th ARRL Computer Networking Conference paper, as is the whole state machine.  */
void rose_enquiry_response(struct sock *sk)
{
	struct rose_sock *rose = rose_sk(sk);
	if (rose->condition & ROSE_COND_OWN_RX_BUSY)
		rose_write_internal(sk, ROSE_RNR);
	else
		rose_write_internal(sk, ROSE_RR);
	rose->vl         = rose->vr;
	rose->condition &= ~ROSE_COND_ACK_PENDING;
	rose_stop_timer(sk);
}