qcacld-3.0: Set the driver_type in the mac during the mac_open

Presently during the mac open the globalmac context is memset to
zero and the based on the driver_type pe sessions will be created.

During the switch from the FTM to mission mode, pe checks the
driver mode from the mac context and tries to access the invalid
lim sessions which are not created for FTM mode.

To mitigate the issue set the driver_type in the mac context during
mac_open

CRs-Fixed: 2017035
Change-Id: Iddefd2f74afb71197c3830a51f107d86736745f1
1 file changed
tree: 133cf96ae35b669cd9f9f9d04b2e94680ce059fd
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt