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

Commit 7862ff24 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Fix a print error in time sync



Print proper values for host time and device time from an error
handling routine during time sync update.

Change-Id: Ib8d9d4fb86d4001b0e2b7d62bc2ae381616f3df6
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent aa860b5b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1652,7 +1652,8 @@ static int cnss_pci_update_timestamp(struct cnss_pci_data *pci_priv)
		goto force_wake_put;

	if (host_time_us < device_time_us) {
		cnss_pr_err("Host time (%llu us) is smaller than device time (%llu us), stop\n");
		cnss_pr_err("Host time (%llu us) is smaller than device time (%llu us), stop\n",
			    host_time_us, device_time_us);
		ret = -EINVAL;
		goto force_wake_put;
	}