sap: Fix AP not come up when medium clean.

When ACS is enabled, if the environment is clean and no othher AP is
present, the scan result will be NULL. The current implementation
treat this case as error which leads to AP could not come up. This
is fixed by selecting a channel specified within the range.

Change-Id: Ifa7df5cd5e2a43156cd30e8f09f2c376b548e462
CRs-fixed: 722432
2 files changed
tree: 95034c86655322244d4eb873500b2d7e421fed94
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile