summaryrefslogtreecommitdiffstats
path: root/src/net/fcns.c
diff options
context:
space:
mode:
authorMichael Brown2011-06-24 18:17:49 +0200
committerMichael Brown2011-06-28 15:45:10 +0200
commitce3bc9e88b0045f0748cac0fc4332096bdc8c1cf (patch)
treef955119b3bd3b86bc0f0b77c3a1e0dc33e7223ea /src/net/fcns.c
parent[fc] Use a one-shot process for Fibre Channel ELS requests (diff)
downloadipxe-ce3bc9e88b0045f0748cac0fc4332096bdc8c1cf.tar.gz
ipxe-ce3bc9e88b0045f0748cac0fc4332096bdc8c1cf.tar.xz
ipxe-ce3bc9e88b0045f0748cac0fc4332096bdc8c1cf.zip
[fc] Use a one-shot process for Fibre Channel name server queries
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcns.c')
-rw-r--r--src/net/fcns.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/fcns.c b/src/net/fcns.c
index afb57cfe..55bd29e5 100644
--- a/src/net/fcns.c
+++ b/src/net/fcns.c
@@ -161,9 +161,6 @@ static void fc_ns_query_step ( struct fc_ns_query *query ) {
int xchg_id;
int rc;
- /* Stop process */
- process_del ( &query->process );
-
/* Create exchange */
if ( ( xchg_id = fc_xchg_originate ( &query->xchg, query->port,
&fc_gs_port_id,
@@ -208,7 +205,7 @@ static struct interface_descriptor fc_ns_query_xchg_desc =
/** Name server process descriptor */
static struct process_descriptor fc_ns_query_process_desc =
- PROC_DESC ( struct fc_ns_query, process, fc_ns_query_step );
+ PROC_DESC_ONCE ( struct fc_ns_query, process, fc_ns_query_step );
/**
* Issue Fibre Channel name server query