[SCSI] libfc: fix fc_els_resp_type to correct display of CT responses
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 3 Nov 2009 19:49:00 +0000 (11:49 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:17 +0000 (12:01 -0600)
commit52a6690d3f0cb7414c34b1e26c569b32d4987662
treecbb8ff950e319b9d3f7125ce882cf9eeea22ef3b
parent5f9a056db9c7973c46337ec8d034323aa72bf206
[SCSI] libfc: fix fc_els_resp_type to correct display of CT responses

Local port debug messages were using fc_els_resp_type() which showed
all CT responses as rejects.

Handle CT responses correctly based by inspecting fh_type.

I decided not to rename the function to keep the patch smaller.
We could call it just fc_resp_type() or fc_elsct_resp_type().

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_elsct.c