Browse Source

[fc] Use a one-shot process for Fibre Channel ELS requests

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

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

253
 	/* Sanity check */
253
 	/* Sanity check */
254
 	assert ( fc_els_is_request ( els ) );
254
 	assert ( fc_els_is_request ( els ) );
255
 
255
 
256
-	/* Stop process */
257
-	process_del ( &els->process );
258
-
259
 	/* Create exchange */
256
 	/* Create exchange */
260
 	if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port,
257
 	if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port,
261
 					     &els->peer_port_id,
258
 					     &els->peer_port_id,
278
 
275
 
279
 /** Fibre Channel ELS process descriptor */
276
 /** Fibre Channel ELS process descriptor */
280
 static struct process_descriptor fc_els_process_desc =
277
 static struct process_descriptor fc_els_process_desc =
281
-	PROC_DESC ( struct fc_els, process, fc_els_step );
278
+	PROC_DESC_ONCE ( struct fc_els, process, fc_els_step );
282
 
279
 
283
 /**
280
 /**
284
  * Create ELS transaction
281
  * Create ELS transaction

Loading…
Cancel
Save