wlan: Handle set band if CONFIG_ENABLE_LINUX_REG is not defined.

vos_is_nv_country_non_zero() and
vos_update_nv_table_from_wiphy_band() function definitions are
under macro but are being called irrespective of macro, thus if
CONFIG_ENABLE_LINUX_REG is not defined set band functionality is
broken.

Removed vos_is_nv_country_non_zero() from the macro, and added a
alternative for vos_update_nv_table_from_wiphy_band() in
hdd_setBand if CONFIG_ENABLE_LINUX_REG=n.

Change-Id: I689a6b21fc76d2045654b0d07ac63d65b7cb5302
CRs-Fixed: 750196
4 files changed
tree: e6599120b49f3a7e73ee07910b04cb7f07c73c22
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile