Hi Jefferson, On Wed, Nov 21, 2012, Jefferson Delfes wrote: > + if (opt == NULL || strcmp(opt, "noleadv")) { Wouldn't it be more intuitive to compare against "leadv" here instead of "noleadv". Also whenever doing strcmp comparisons please use an explicit == 0 or != 0. Also, if the logic (and length) of this function starts growing too much you should really consider splitting it into one per command. Johan -- 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