/* Called when the peer device is polling for the line settings  */
static int ircomm_param_poll(void *instance, irda_param_t *param, int get)
/* Called when the peer device is polling for the line settings  */
static int ircomm_param_poll(void *instance, irda_param_t *param, int get)
{
	struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance;
	IRDA_ASSERT(self != NULL, return -1;);
	IRDA_ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;);
	if (!get) {
		ircomm_param_request(self, IRCOMM_DTE, TRUE);
	}
	return 0;
}