qcacld-3.0: Select default channel of SAP in case of failure

Currently the driver choses a default channel for SAP
in case of failures, logic of which is incorrect as
it does not take into account the hw mode, and all
other checks such as SRD, unsafe, DFS etc.
The channel chosen after this maybe not as per
expectation.

Fix is to chose a default channel from the acs channel
list itslef so that the checks of SRD etc. ae honored.

Change-Id: Ife8a6b88938fd566bed92a5bde1cb0fe34a45462
CRs-Fixed: 2476351
1 file changed