diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-07-10 06:25:30 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-07-10 06:25:30 +0100 |
commit | 4075f7596bd7b879706516fd84f4acbf19a7d2c5 (patch) | |
tree | 9f20f709e59a1b41caa24f7894267bc191267f84 /src/core/xfer.c | |
parent | d3ad76bc746993a18b57237456345470ac381adf (diff) | |
download | ipxe-4075f7596bd7b879706516fd84f4acbf19a7d2c5.tar.gz |
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 ); } |