Wifi reports as "enabled" even though it's not
<p>I'm not sure if this is a Galaxy Tab specific issue or if I'm not utilizing some relevant method of the WifiManager library, but my application correctly reports that the Wifi is disabled at launch, but then as soon as I enable it, it deems itself as enabled, even though it's still in the process of connecting.</p>

<p>So, I have a thread in which I'm waiting for the enabled state</p>

<pre><code>//at THIS line it claims to be WIFI_STATE_DISABLED so I turn it on with...
wifiManager.setEnabled(true);
//and at this line it reports as 3 (which according to the doc is WIFI_STATE_ENABLED, even though it clearly isn't
while(wifiManager.getWifiState() == WifiManager.WIFI_STATE_DISABLED || wifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLING){
</code></pre>

<p>but it never never enters the loop, it just jumps right past even though it is NOT enabled</p>

<p>I'm hoping there's some other mechanism that I'm missing, or maybe I'm misunderstanding what "enabled" means?</p>
