/* Handle Character Escape character received within a frame  */
static void async_unwrap_ce(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte)
/* Handle Character Escape character received within a frame  */
static void async_unwrap_ce(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte)
{
	switch(rx_buff->state) {
	case OUTSIDE_FRAME:
		irda_device_set_media_busy(dev, TRUE);
		break;
	case LINK_ESCAPE:
		IRDA_WARNING("%s: state not defined\n", __func__);
		break;
	case BEGIN_FRAME:
	case INSIDE_FRAME:
	default:
		rx_buff->state = LINK_ESCAPE;
		break;
	}
}