[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Ask about the l2ca_disconnect_req()?



Dear All,

In the l2ca_disconnect_req()of the l2cap.c, there are the following:

if(con->c_status != CSTATUS_MAX_NO_RTX) {
		if (con->current_state == CLOSED) {	
			/* remove l2cap connection */
			delete_con(con);
		} else {
			/* FIXME: If we reach here, should we delete the connection? */
			D_ERR(__FUNCTION__ ": Failed (Connection not closed)");
			PRINTSTATE(con);
			retval = -MSGCODE(MSG_LAYER_L2CAP, L2CAP_FAILED);
		}
	}

I don't understand it. I want to konw the meaning of
CSTATUS_MAX_NO_RTX).And how can I find the corresponding in Spec.1.1?

Thanks a lot!

Subing Zhang
The University of Hong Kong

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com