Explorar el Código

[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 hace 13 años
padre
commit
08ac74b708
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1
    4
      src/net/fcels.c

+ 1
- 4
src/net/fcels.c Ver fichero

@@ -253,9 +253,6 @@ static void fc_els_step ( struct fc_els *els ) {
253 253
 	/* Sanity check */
254 254
 	assert ( fc_els_is_request ( els ) );
255 255
 
256
-	/* Stop process */
257
-	process_del ( &els->process );
258
-
259 256
 	/* Create exchange */
260 257
 	if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port,
261 258
 					     &els->peer_port_id,
@@ -278,7 +275,7 @@ static void fc_els_step ( struct fc_els *els ) {
278 275
 
279 276
 /** Fibre Channel ELS process descriptor */
280 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 281
  * Create ELS transaction

Loading…
Cancelar
Guardar