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

Commit f9f16577 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

icnss2: Fix -Wmisleading-indentation warning



Clang-11 introduced -Wmisleading-indentation warning and
the driver was flagged for it. Hence, fix the same.

Change-Id: Ic8267726bf891c030fe38830b5f73f9f666a0c45
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 40bffd32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1644,12 +1644,13 @@ static int icnss_service_notifier_notify(struct notifier_block *nb,
		set_bit(ICNSS_FW_DOWN, &priv->state);
		icnss_ignore_fw_timeout(true);

		if (test_bit(ICNSS_FW_READY, &priv->state))
		if (test_bit(ICNSS_FW_READY, &priv->state)) {
			fw_down_data.crashed = event_data->crashed;
			icnss_call_driver_uevent(priv,
						 ICNSS_UEVENT_FW_DOWN,
						 &fw_down_data);
		}
	}

	clear_bit(ICNSS_HOST_TRIGGERED_PDR, &priv->state);
	icnss_driver_event_post(priv, ICNSS_DRIVER_EVENT_PD_SERVICE_DOWN,