@@ -576,7 +576,17 @@ Item {
576576 active: serverChecked
577577 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
578578 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
579− signalStrength: strengthAction.valid ? strengthAction.state : 0
579+ signalStrength: {
580+ if (strengthAction.valid) {
581+ var state = strengthAction.state; // handle both int and uchar
582+ // FIXME remove the special casing when we switch to indicator-network completely
583+ if (typeof state == "string") {
584+ return state.charCodeAt();
585+ }
586+ return state;
587+ }
588+ return 0;
589+ }
580590 highlightWhenPressed: false
581591
582592 onMenuModelChanged: {