diff options
author | Michael Brown | 2007-07-10 07:25:30 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-10 07:25:30 +0200 |
commit | 4075f7596bd7b879706516fd84f4acbf19a7d2c5 (patch) | |
tree | 9f20f709e59a1b41caa24f7894267bc191267f84 /src/core/xfer.c | |
parent | Add debug messages to process.c (diff) | |
download | ipxe-4075f7596bd7b879706516fd84f4acbf19a7d2c5.tar.gz ipxe-4075f7596bd7b879706516fd84f4acbf19a7d2c5.tar.xz ipxe-4075f7596bd7b879706516fd84f4acbf19a7d2c5.zip |
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
Diffstat (limited to 'src/core/xfer.c')
-rw-r--r-- | src/core/xfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/xfer.c b/src/core/xfer.c index 06895871..3add057b 100644 --- a/src/core/xfer.c +++ b/src/core/xfer.c @@ -38,8 +38,8 @@ void xfer_close ( struct xfer_interface *xfer, int rc ) { DBGC ( xfer, "XFER %p->%p close\n", xfer, dest ); - dest->op->close ( dest, rc ); xfer_unplug ( xfer ); + dest->op->close ( dest, rc ); xfer_put ( dest ); } |