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

Skip to content
Commit 572ecced authored by jiad's avatar jiad
Browse files

cnss2: Call remove callback only if in probed state



In cnss_pci_call_driver_remove(), when calling ->remove callback,
CNSS_DRIVER_PROBED bit is not checked. Thus fix it by checking
CNSS_DRIVER_PROBED bit. If CNSS_DRIVER_PROBED is set, ->remove
callback can be safely invoked then.

Change-Id: Ibcbb3a8c23dd2fac92c8fe6654f2011aae9fa97c
Signed-off-by: default avatarjiad <jiad@codeaurora.org>
parent 2913cfe3
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