currently in my line discipline driver - I've implemented a receive_buf function inside which upon receiving a particular byte of data, I need to send a bunch of data and wait for its reception (which happens to accumulate in receive_buf). for this I implemented a work struct which I schedule into the default work queue by doing a schedule_work inside my receive_buf function when I receive such byte. However I can't seem to do a wait_for_completion inside my work handler. This completion is completed upon reception inside the receive_buf function. wait_for_completion inside the worker thread doesn't seem to allow the receive_buf to be called. Please suggest how best I can implement something like this ? -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html