mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[SCSI] qla2xxx: Fixed zero test on new_config in qla2x00_process_loopback().
Fixed the incorrect zero test on array new_config[]. Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Madhuranath Iyengar <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
ff8073fffc
commit
4052bd5723
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue