qcacld-3.0: Reject Reg Notifier call if module is closed

Under situations where the driver detects wifi capabilities are not
being used, it cleans itself up transparently to the kernel and shuts
down. The kernel has been observed calling the reg notifier callback in
these situations, even though no virtual devices are active, which
causes a crash. Gracefully reject the calls into reg notifier by the
kernel in such cases.

Change-Id: I11e68c2224a7abf079d04c92d671f5db0804283e
CRs-Fixed: 1116475
1 file changed
tree: b8752997094beaf321ed176391a61399cd6ac4c2
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt