Sorry. My mistake. In this case it seems that sleep functions can be called from thread_fn, since interrupt line is disabled globally. And nothing bad will happen if you know that device can be blocked for relatively long time. -- 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