[SCSI] fnic: Change fnic_flush_tx() to flush tx instead of rx queue
authorBrian Uchino <buchino@cisco.com>
Fri, 9 Apr 2010 21:22:49 +0000 (14:22 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:02:37 +0000 (14:02 -0500)
commitd9e9ab56b687da0b3ecb29f7a77f25aa7ae078fb
treefd37928fad590202362b20f6a4723f5326a30222
parent666d07646a29040e3dc4caeb679166559e152ff2
[SCSI] fnic: Change fnic_flush_tx() to flush tx instead of rx queue

fnic_flush_tx() is used to send frames held while fabric login
is in progress.  The frames are held in tx_queue, but
fnic_flush_tx() was incorrectly flushing from recv_queue which
is used for received frames.

Signed-off-by: Brian Uchino <buchino@cisco.com>
Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fnic/fnic_fcs.c