Android 7.1.1 release 28
DO NOT MERGE Dont exceed scan ssid max size advertised by driver

Currently |wpa_set_scan_ssids| fully exhausts
|wpa_driver_scan_params.ssid| list when hidden network ID's
are provided via the control interface. This results in us
exceeding the max size for the list advertised by the driver when we add
the "wildcard" scan ssid entry. So, ensure that we leave space for one
more scan ssid entry in the list when we exit out of |wpa_set_scan_ssids|.

BUG: 29502964
Change-Id: If2cdd11951a7855e73d8bb7b6f8cae504931fa56
Signed-off-by: Roshan Pius <rpius@google.com>
1 file changed