nvmf/ctrlr: property set returns false when cc.en transition from 1 to 0
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Ia1be6028a5c0037e27c8c0feea0a717d423dabeb Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479830 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
708ed4fb6e
commit
f80fe5c4a5
@ -661,7 +661,7 @@ nvmf_prop_set_cc(struct spdk_nvmf_ctrlr *ctrlr, uint64_t value)
|
||||
ctrlr->vcprop.csts.bits.rdy = 1;
|
||||
} else {
|
||||
SPDK_ERRLOG("CC.EN transition from 1 to 0 (reset) not implemented!\n");
|
||||
|
||||
return false;
|
||||
}
|
||||
diff.bits.en = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user