CarbonDevXperia/android_frameworks_base — pull request #42 by Matoxxi (2014-10-19 19:36:41+00:00)
Title: Only start one WifiClientScanner

*) Fixes unexpected soft reboots.
E/AndroidRuntime(18586): *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiClientScanner
E/AndroidRuntime(18586): java.lang.IllegalStateException: Cannot execute task: the task is already running.
E/AndroidRuntime(18586): at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:576)
E/AndroidRuntime(18586): at android.os.AsyncTask.execute(AsyncTask.java:535)
E/AndroidRuntime(18586): at com.android.server.connectivity.Tethering$WifiClientScanner.handleMessage(Tethering.java:596)
E/AndroidRuntime(18586): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(18586): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(18586): at android.os.HandlerThread.run(HandlerThread.java:61)

*) Remove unnecessary mDoScan class member variable.

Change-Id: I17ab368366b9a3456a625974c461783c428efec2