OSDN Git Service

Don't init wifiChannels until after supplicant up
authorRobert Greenwalt <robdroid@android.com>
Sat, 12 Sep 2009 00:23:35 +0000 (17:23 -0700)
committerRobert Greenwalt <robdroid@android.com>
Sat, 12 Sep 2009 00:23:35 +0000 (17:23 -0700)
commit7c9bf7caa2936e8b76598be9fffea980d81c61d3
treed474c5edac25a48c986f913aea99e66fa4a89951
parentd68781ace179e19b70120411baf307104683fa4b
Don't init wifiChannels until after supplicant up

The supplicant can take up to 15 seconds to start - setting the number of wifi channels
immediately after requested wifi start often will fail.

Changed to set the number of channels when the supplicant is reported as alive.

bug:2083601
services/java/com/android/server/WifiService.java
wifi/java/android/net/wifi/WifiStateTracker.java