merge from open-source master

Change-Id: I227bf1b5f1de8f858df72d58a4463aed5cc09cbc
This commit is contained in:
The Android Open Source Project
2010-06-15 09:27:48 -07:00

View File

@@ -1357,7 +1357,7 @@ public class WifiStateTracker extends NetworkStateTracker {
int netId = -1;
String[] lines = reply.split("\n");
for (String line : lines) {
String[] prop = line.split(" *= *");
String[] prop = line.split(" *= *", 2);
if (prop.length < 2)
continue;
String name = prop[0];