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

Commit dac6e981 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss: Skip removing WLAN host driver during recovery"

parents 320707b2 e7857c60
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1406,8 +1406,11 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,
	if (code == SUBSYS_BEFORE_SHUTDOWN && !notif->crashed &&
	    atomic_read(&priv->is_shutdown)) {
		atomic_set(&priv->is_shutdown, false);
		if (!test_bit(ICNSS_PD_RESTART, &priv->state) &&
		    !test_bit(ICNSS_SHUTDOWN_DONE, &priv->state)) {
			icnss_call_driver_remove(priv);
		}
	}

	if (code == SUBSYS_BEFORE_SHUTDOWN && !notif->crashed &&
	    test_bit(ICNSS_BLOCK_SHUTDOWN, &priv->state)) {