> That changes the return value. Although it doesn't matter > since all callers only check for < 0, it should perhaps be > changed to return 0 here to avoid confusion. You're right, the function returns now different things. But no caller cares for the different return value, therefore the code is correct as it is. I actually used the return value to find out how many loops usually are needed to program, and found that I wait way to long in usleep() function. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html