diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2012-02-07 19:19:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-08 18:50:20 -0500 |
commit | 039055b965b9cfbeacb8cdcd1ef57e18b6374e58 (patch) | |
tree | 777418f3fb39a5c053016e4c019a12a8f42a097b /drivers/s390 | |
parent | c3ab96f36aa308fa5bf432d5a4dafc80b7373805 (diff) |
qeth: add wake_up on write channel
To send commands on the write channel 8 buffers exist. If all
8 buffers are used, a wait is triggered on the write channel. When
such buffer are freed, a wake_up is needed. This patch adds the
missing wake_up in qeth_release_buffer().
This fix is especially important when running Communications
Controller for Linux on System z.
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 0565584b52c3..cbb101828dc3 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -678,6 +678,7 @@ void qeth_release_buffer(struct qeth_channel *channel, | |||
678 | iob->callback = qeth_send_control_data_cb; | 678 | iob->callback = qeth_send_control_data_cb; |
679 | iob->rc = 0; | 679 | iob->rc = 0; |
680 | spin_unlock_irqrestore(&channel->iob_lock, flags); | 680 | spin_unlock_irqrestore(&channel->iob_lock, flags); |
681 | wake_up(&channel->wait_q); | ||
681 | } | 682 | } |
682 | EXPORT_SYMBOL_GPL(qeth_release_buffer); | 683 | EXPORT_SYMBOL_GPL(qeth_release_buffer); |
683 | 684 | ||