Kaynağa Gözat

[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 yıl önce
ebeveyn
işleme
08ac74b708
1 değiştirilmiş dosya ile 1 ekleme ve 4 silme
  1. 1
    4
      src/net/fcels.c

+ 1
- 4
src/net/fcels.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet