On Wed, Apr 10, 2013 at 10:11 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > as mentioned earlier, I do not like the count naming. Here it makes it even worse. Ok. Got it ;) > And what I would be doing is creating a string array { "0000", "1234" } that just can be walked and not this hardcoded if statement. As I mentioned before I like more the idea of the plugin having its logic because it allows the plugin to do more than just a database. When I said that I had in mind some ideas that you will find in my next patch set. I'll change this dumb code to just "0000" at the beginning and see what devices are out there requiring a dumb pincode other than "0000". -- 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