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

Commit 9b0c724f authored by Mohammed Siddiq's avatar Mohammed Siddiq
Browse files

cnss2: Add code to fix a print error in update timestamp api



Add code to fix a print error in update timestamp api.

Change-Id: Ibb14902e863ecac6f34bb3e0a2ec56c5b2cf5ed9
Signed-off-by: default avatarMohammed Siddiq <msiddiq@codeaurora.org>
parent 992fc597
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1365,7 +1365,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;
	}