/* State machine for state 5, Awaiting Call Acceptance State. The handling of the timer(s) is in file rose_timer.c Handling of state 0 and connection release is in af_rose.c.  */
static int rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype)
/* State machine for state 5, Awaiting Call Acceptance State. The handling of the timer(s) is in file rose_timer.c Handling of state 0 and connection release is in af_rose.c.  */
static int rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype)
{
	if (frametype == ROSE_CLEAR_REQUEST) {
		rose_write_internal(sk, ROSE_CLEAR_CONFIRMATION);
		rose_disconnect(sk, 0, skb->data[3], skb->data[4]);
		rose_sk(sk)->neighbour->use--;
	}
	return 0;
}