Handle update config when 6GHz band is removed
Before starting the SoftAp, softApManager removes the
6GHz band from the config, for unsupported security types.
If the config contains only one band(6GHz), this will end
up in invalid band(config without a band). In such scenarios,
fail the softAp start.
Bug: 277870172
Test: atest ApConfigUtilTest
Test: Manual - 1. set band to 6GHz via shell command
(adb shell cmd wifi force-softap-band enabled 6)
2. Enable Hotspot with security type configured to WPA2-PSK
Didn't observe crash. Hotspot failed to start
Change-Id: Iec164c8c732d8c0037edc80aefe128ebb9de16bc
3 files changed