Hi Claudio, On Wed, Apr 04, 2012 at 05:16:11PM -0300, Claudio Takahasi wrote: ... > + addr.l2_bdaddr_type = bdaddr_type; > if (cid) ... > @@ -1020,6 +1022,7 @@ static void info_request(char *svr) > + addr.l2_bdaddr_type = bdaddr_type; ... > @@ -1167,6 +1170,7 @@ static void do_pairing(char *svr) > + addr.l2_bdaddr_type = bdaddr_type; ... > + case 'V': > + bdaddr_type = atoi(optarg); Apparently there is no check that value is correct. I think that you can use here lookup_table (see l2cap_modes and chan_policies). Best regards Andrei Emeltchenko -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html