提交 4052bd57 编写于 作者: J Joe Carnuccio 提交者: James Bottomley

[SCSI] qla2xxx: Fixed zero test on new_config in qla2x00_process_loopback().

Fixed the incorrect zero test on array new_config[].
Signed-off-by: NJoe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: NMadhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
上级 ff8073ff
......@@ -753,7 +753,7 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job)
command_sent = INT_DEF_LB_LOOPBACK_CMD;
rval = qla2x00_loopback_test(vha, &elreq, response);
if (new_config[1]) {
if (new_config[0]) {
/* Revert back to original port config
* Also clear internal loopback
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册