ufshci: camcontrol: use correct define to fix the build

Fixes:	1349a733cf
This commit is contained in:
Bjoern A. Zeeb 2025-06-15 09:25:56 +00:00
parent f3bba8cd62
commit 78f12afc38

View file

@ -5404,7 +5404,7 @@ cts_print(struct cam_device *device, struct ccb_trans_settings *cts)
struct ccb_trans_settings_ufshci *ufshci =
&cts->xport_specific.ufshci;
if (ufshci->valid & CTS_UFSHCI_VALID_MODE) {
if (ufshci->valid & CTS_UFSHCI_VALID_LINK) {
fprintf(stdout, "%sHigh Speed Gear: %d (%d max)\n",
pathstr, ufshci->hs_gear, ufshci->max_hs_gear);
fprintf(stdout, "%sUnipro TX lanes: %d (%d max)\n", pathstr,