From: Jimmy Huang Date: Thu, 6 Mar 2014 19:18:41 +0000 (-0800) Subject: Fixed a bug where tethering is not allowed unless it's connected X-Git-Tag: accepted/tizen/ivi/20140306.222953~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d650d6d12aa2ccc627162be1aaa3e293bc1e2611;p=profile%2Fivi%2FSettingsApp.git Fixed a bug where tethering is not allowed unless it's connected Change-Id: Ied1e3d840ee585cf15097117a7f595044a993cfb Signed-off-by: Jimmy Huang --- diff --git a/js/panel-connman.js b/js/panel-connman.js index 3e27cdd..8af5326 100644 --- a/js/panel-connman.js +++ b/js/panel-connman.js @@ -576,7 +576,7 @@ function connmanConstructTetheringElement(technology) { console.log('Connman technology ' + technology.prop.Type + ' is tethered: ' + technology.prop.Tethering); - if (technology.prop.Powered === true && technology.prop.Connected === true) { + if (technology.prop.Powered === true) { if (technology.prop.Tethering === true) { $('#toggle_tethering_' + technology.prop.Type).val('on').slider('refresh'); $('#input_wifi_tethering_id').textinput('disable');