From a4851afe2dc406ec42235fe2800e25331a31a0bc Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 19 May 2013 16:47:50 +0000 Subject: [PATCH] fcst: Change exch_done() into frame_send() to minimize diffs with upstream git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4859 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index 135505881..cb482252c 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -464,11 +464,13 @@ out: lport->tt.exch_done(sp); #else fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_DD_CMD_STATUS, 0); - sp = fr_seq(rx_fp); - if (sp) + sp = fr_seq(fp); + if (sp) { lport->tt.seq_send(lport, sp, fp); - else + lport->tt.exch_done(sp); + } else { lport->tt.frame_send(lport, fp); + } #endif }