On Mon, Dec 27, 2010, Anderson Lizardo wrote: > IMHO, you should keep str2ba and drop the few occurrences of > strtoba(). Same applies to ba2str/batostr. > strtoba() allocates memory by itself, so if you use it instead, you > need to deallocate memory. str2ba(), on the other hand, uses a buffer > given as argument. These function are similar, but not the same. ba2str/str2ba reverse bdaddr, but batostr/strtoba not. I wrote relevant documentation comments, because names look similar, code look similar, but results are different. Regards-- 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