Hi Johan. I did compare with "noleadv" because if you have some param in command.opt, main function drops one argument (command name) and it will pass only the parameter of the command. So or it will be empty, or it will have the argument for leadv. I can split this function. Probably it will be more intuitive. Thanks. -- 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