[SCSI] qla2xxx: Check loop-state before reading host statistics.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Mon, 29 Jan 2007 18:22:25 +0000 (10:22 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 31 Jan 2007 17:13:07 +0000 (11:13 -0600)
commit178779a6ca7c23b52d5537b972f2b54c830b4480
tree5983c4f4b0f66c8a9edd4a1c7d2e3a06dc7859e1
parent9bb9fcf2f2b4deeb3ae8a44ed4b8686302297030
[SCSI] qla2xxx: Check loop-state before reading host statistics.

Non-ISP24xx cards must have a loop-id in order to query host
statistics.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_attr.c