Must initialize the new atomic..
bug:7172859
Change-Id: Ibaf390683fa36771215b463fb6b088f7430c0462
diff --git a/src/com/android/settings/TetherSettings.java b/src/com/android/settings/TetherSettings.java
index 1564803..df44e91 100644
--- a/src/com/android/settings/TetherSettings.java
+++ b/src/com/android/settings/TetherSettings.java
@@ -79,7 +79,7 @@
private String[] mWifiRegexs;
private String[] mBluetoothRegexs;
- private AtomicReference<BluetoothPan> mBluetoothPan;
+ private AtomicReference<BluetoothPan> mBluetoothPan = new AtomicReference<BluetoothPan>();
private static final String WIFI_AP_SSID_AND_SECURITY = "wifi_ap_ssid_and_security";
private static final int CONFIG_SUBTEXT = R.string.wifi_tether_configure_subtext;