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

Commit 06ed971f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Return proper error code for nonsupported devices"

parents 88d4f469 925d65f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1613,7 +1613,7 @@ int cnss_force_fw_assert(struct device *dev)

	if (plat_priv->device_id == QCA6174_DEVICE_ID) {
		cnss_pr_info("Forced FW assert is not supported\n");
		return -EINVAL;
		return -EOPNOTSUPP;
	}

	if (test_bit(CNSS_DRIVER_RECOVERY, &plat_priv->driver_state)) {