* commit '1c9126c64b56b6465fd551680461caed2e1ea20d': Convert soft ap config store to state machine
This commit is contained in:
@@ -619,12 +619,7 @@ public class WifiService extends IWifiManager.Stub {
|
||||
*/
|
||||
public WifiConfiguration getWifiApConfiguration() {
|
||||
enforceAccessPermission();
|
||||
if (mWifiStateMachineChannel != null) {
|
||||
return mWifiStateMachine.syncGetWifiApConfiguration(mWifiStateMachineChannel);
|
||||
} else {
|
||||
Slog.e(TAG, "mWifiStateMachineChannel is not initialized");
|
||||
return null;
|
||||
}
|
||||
return mWifiStateMachine.syncGetWifiApConfiguration();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user