Lookup the recommended config to check if it's saved.

Instead of comparing the recommended config's networkId to
WifiConfiguration.INVALID_NETWORK_ID to determine if the config
represents a saved config actually look up the config using its
matching ScanDetail.

Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Bug: 34808853
Change-Id: I74c4e3ecd1a8d069f69d38d6a8a539588d11ec7c
1 file changed
tree: f1019f9e4dd7865677768513b7482efbb6827508
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg