wlan: Enable statically linked driver to switch modes.

Enable statically linked driver to switch modes based on module param
'con_mode'. add handler function to unload and reload driver when
con_mode is changed by userspace
FTM mode can be entered: echo 5 > /sys/module/wlan/parameters/con_mode
fix a problem where module_init and module_exit functions can't be
called repeatedly

Change-Id: Ief88c09de270df82f11019658876cf0f5a6d5bb7
CRs-Fixed: 394953
2 files changed
tree: 3b4bf6d3f8989ce94731ae94e939b5236699501c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile