Browse Source

[fc] Use a one-shot process for Fibre Channel name server queries

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
ce3bc9e88b
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      src/net/fcns.c

+ 1
- 4
src/net/fcns.c View File

161
 	int xchg_id;
161
 	int xchg_id;
162
 	int rc;
162
 	int rc;
163
 
163
 
164
-	/* Stop process */
165
-	process_del ( &query->process );
166
-
167
 	/* Create exchange */
164
 	/* Create exchange */
168
 	if ( ( xchg_id = fc_xchg_originate ( &query->xchg, query->port,
165
 	if ( ( xchg_id = fc_xchg_originate ( &query->xchg, query->port,
169
 					     &fc_gs_port_id,
166
 					     &fc_gs_port_id,
208
 
205
 
209
 /** Name server process descriptor */
206
 /** Name server process descriptor */
210
 static struct process_descriptor fc_ns_query_process_desc =
207
 static struct process_descriptor fc_ns_query_process_desc =
211
-	PROC_DESC ( struct fc_ns_query, process, fc_ns_query_step );
208
+	PROC_DESC_ONCE ( struct fc_ns_query, process, fc_ns_query_step );
212
 
209
 
213
 /**
210
 /**
214
  * Issue Fibre Channel name server query
211
  * Issue Fibre Channel name server query

Loading…
Cancel
Save