wlan: fix driver load failure with legacy regulatory code

When driver is compiled without CONFIG_ENABLE_LINUX_REG flag
the function vos_getCurrentCountryCode() is declared and used
but never defined which results in failure to load the driver.
Make sure that the function is not used when using legacy
regulatory code.

Change-Id: I9b1d3b6eb31bf1ecf601f14cf2c75156e581bd35
CRs-Fixed: 759463
8 files changed
tree: 0220a7b234fdfc3d0515beaf93c4640263d4b19e
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile