I think the option of looking at the length and using the old type for < 256 and a 16-bit type for greater lengths would be the safest.
Thanks for the feedback. I'll start working on a patch. -- 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