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

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

Merge "cnss2: Donot assert if BDF download fails on reboot"

parents 13fe355d 119ac000
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -650,7 +650,9 @@ int cnss_wlfw_bdf_dnld_send_sync(struct cnss_plat_data *plat_priv,
	if (bdf_type != CNSS_BDF_DUMMY)
		release_firmware(fw_entry);
err_req_fw:
	if (bdf_type != CNSS_BDF_REGDB)
	if (!(bdf_type == CNSS_BDF_REGDB ||
	      test_bit(CNSS_IN_REBOOT, &plat_priv->driver_state) ||
	      ret == -EAGAIN))
		CNSS_ASSERT(0);
	kfree(req);
	kfree(resp);