Loading
cnss: Fix a bug to avoid unregistering PCIe device twice
In WLAN driver loading failure routine, it will unregister PCIe device
if it's not unregistered. Currently it checks the incorrect variable
which will still cause double unregister. Fix this bug to avoid crash.
Change-Id: I733582ed8759de7374ac5ea1c2571c78d6142289
CRs-fixed: 818367
Signed-off-by:
Yue Ma <yuem@codeaurora.org>