mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "cnss2: Donot assert if BDF download fails on reboot"
This commit is contained in:
commit
8b51ca0984
1 changed files with 3 additions and 1 deletions
|
|
@ -650,7 +650,9 @@ err_send:
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue