Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea6bb1b4 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android Git Automerger
Browse files

am ee93169e: Merge "DO NOT MERGE fix runstate race condition" into gingerbread

* commit 'ee93169e':
  DO NOT MERGE fix runstate race condition
parents e843dfa8 ee93169e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -602,8 +602,6 @@ public class WifiStateTracker extends NetworkStateTracker {
     * Send the tracker a notification that the Wi-Fi driver has been stopped.
     */
    void notifyDriverStopped() {
        mRunState = RUN_STATE_STOPPED;

        // Send a driver stopped message to our handler
        Message.obtain(this, EVENT_DRIVER_STATE_CHANGED, DRIVER_STOPPED, 0).sendToTarget();
    }
@@ -1302,6 +1300,9 @@ public class WifiStateTracker extends NetworkStateTracker {
                        }
                    }
                    break;
                case DRIVER_STOPPED:
                    mRunState = RUN_STATE_STOPPED;
                    break;
                case DRIVER_HUNG:
                    Log.e(TAG, "Wifi Driver reports HUNG - reloading.");
                    /**