Check for config before accessing it

When a roam command is received in wifi connected state,
any existing wifi configuration for the current user is
searched based on the network ID .
This search can result in null i.e., no valid configuration
exists for the desired network ID.

The log misses this NULL check for config while accessing it.
Hence the check before the access.

CRs-Fixed: 2005496
Change-Id: I009579469a34d62af7270040dda88badf12eb2bf
1 file changed
tree: 164931e27ed36afc160f8337987c9c30236dfddf
  1. service/
  2. tests/