Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4052bd57 authored by Joe Carnuccio's avatar Joe Carnuccio Committed by James Bottomley
Browse files

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



Fixed the incorrect zero test on array new_config[].

Signed-off-by: default avatarJoe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: default avatarMadhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent ff8073ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
				 */