summaryrefslogtreecommitdiffstats
path: root/src/net/fcels.c
diff options
context:
space:
mode:
authorMichael Brown2011-06-24 18:16:38 +0200
committerMichael Brown2011-06-28 15:45:10 +0200
commit08ac74b70871c27ee702abebb097fe0baba4f7ce (patch)
tree685d777966d655177c44de46d0af9cc5b96f61af /src/net/fcels.c
parent[resolv] Use a one-shot process for the numeric resolver (diff)
downloadipxe-08ac74b70871c27ee702abebb097fe0baba4f7ce.tar.gz
ipxe-08ac74b70871c27ee702abebb097fe0baba4f7ce.tar.xz
ipxe-08ac74b70871c27ee702abebb097fe0baba4f7ce.zip
[fc] Use a one-shot process for Fibre Channel ELS requests
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcels.c')
-rw-r--r--src/net/fcels.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/fcels.c b/src/net/fcels.c
index 656b4f67..2106cbd5 100644
--- a/src/net/fcels.c
+++ b/src/net/fcels.c
@@ -253,9 +253,6 @@ static void fc_els_step ( struct fc_els *els ) {
/* Sanity check */
assert ( fc_els_is_request ( els ) );
- /* Stop process */
- process_del ( &els->process );
-
/* Create exchange */
if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port,
&els->peer_port_id,
@@ -278,7 +275,7 @@ static void fc_els_step ( struct fc_els *els ) {
/** Fibre Channel ELS process descriptor */
static struct process_descriptor fc_els_process_desc =
- PROC_DESC ( struct fc_els, process, fc_els_step );
+ PROC_DESC_ONCE ( struct fc_els, process, fc_els_step );
/**
* Create ELS transaction