Add null check for getCurrentWifiConfiguration

getCurrentWifiConfiguration can return null. So
we need to check for returning null before
calling any config functions.

Bug: 141225946
Test: atest com.android.server.wifi
Change-Id: I29f0dcc80e2fc55ac7662e5678755707845ebd47
1 file changed
tree: d759e873557f00528c894c002ffaadc375c42d41
  1. service/
  2. PREUPLOAD.cfg