wlan: Fix sap to operate on valid channel.

sometimes when no channel is picked in acs, sap is picking
the start channel which could be an invalid channel as per
the country accquired. This fix ensures to pick valid channel
among the given range if no channel is picked in acs, if none
of the channels are valid in the given range as per the country
accquired then a default channel in 2.4G is picked.

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