diff --git a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java index 3de5869b7ff..2db037fdd0a 100644 --- a/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java +++ b/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java @@ -36,7 +36,7 @@ public class WifiTetherSoftApManager { } public void registerSoftApCallback() { - mWifiManager.registerSoftApCallback(mSoftApCallback, new HandlerExecutor(mHandler)); + mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); } public void unRegisterSoftApCallback() {