Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fc] Use a one-shot process for Fibre Channel ELS requests
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 28, 2011
1 parent 5694b71 commit 08ac74b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/net/fcels.c
Expand Up @@ -253,9 +253,6 @@ static void fc_els_step ( struct fc_els *els ) {
/* Sanity check */
assert ( fc_els_is_request ( els ) );

/* Stop process */
process_del ( &els->process );

/* Create exchange */
if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port,
&els->peer_port_id,
Expand All @@ -278,7 +275,7 @@ static void fc_els_step ( struct fc_els *els ) {

/** Fibre Channel ELS process descriptor */
static struct process_descriptor fc_els_process_desc =
PROC_DESC ( struct fc_els, process, fc_els_step );
PROC_DESC_ONCE ( struct fc_els, process, fc_els_step );

/**
* Create ELS transaction
Expand Down

0 comments on commit 08ac74b

Please sign in to comment.