summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiSsid.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiSsid.java b/wifi/java/android/net/wifi/WifiSsid.java
index 3e5f10f..55e9b2d 100644
--- a/wifi/java/android/net/wifi/WifiSsid.java
+++ b/wifi/java/android/net/wifi/WifiSsid.java
@@ -89,21 +89,27 @@ public class WifiSsid implements Parcelable {
switch(asciiEncoded.charAt(i)) {
case '\\':
octets.write('\\');
+ i++;
break;
case '"':
octets.write('"');
+ i++;
break;
case 'n':
octets.write('\n');
+ i++;
break;
case 'r':
octets.write('\r');
+ i++;
break;
case 't':
octets.write('\t');
+ i++;
break;
case 'e':
octets.write(27); //escape char
+ i++;
break;
case 'x':
i++;