/* Function irda_insert_no_value (self, buf, len, pi, type, func)  */
static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func)
/* Function irda_insert_no_value (self, buf, len, pi, type, func)  */
static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func)
{
	irda_param_t p;
	int ret;
	p.pi = pi;
	p.pl = 0;
	ret = (*func)(self, &p, PV_GET);
	irda_param_pack(buf, "bb", p.pi, p.pl);
	if (ret < 0)
		return ret;
	return 2;
}