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

Skip to content
Commit 20e3e94a authored by Komal Seelam's avatar Komal Seelam
Browse files

cnss: Re-register PCI device after unregistration



When the PCIe link fails to come up, pci device is unregistered
but the pdev is not cleaned up and re-registration is not done
when WLAN driver registers with CNSS the next time. This may lead
to unregister the PCI device again if the PCIe link failure happens
again and could result in kernel panic. Fix it by cleaning up the
pdev in penv structure properly and re-register pci device the next
time.

Change-Id: I8b84e20035688c442e1f7fb257a7762ff562d015
CRs-Fixed: 624977
Signed-off-by: default avatarKomal Seelam <kseelam@codeaurora.org>
parent cfb69012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment