From: Jimmy Huang Date: Thu, 6 Mar 2014 19:17:27 +0000 (-0800) Subject: No need to scan wifi until propertyChanged signal is received X-Git-Tag: accepted/tizen/ivi/20140306.222953~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc9e8fc530abe6e716e4627db4a27e7e7107532c;p=profile%2Fivi%2FSettingsApp.git No need to scan wifi until propertyChanged signal is received Change-Id: If34c502f8efd454ae4eae944a948d98759c2078b Signed-off-by: Jimmy Huang --- diff --git a/js/panel-connman.js b/js/panel-connman.js index b3e605c..3e27cdd 100644 --- a/js/panel-connman.js +++ b/js/panel-connman.js @@ -457,12 +457,6 @@ function connmanConstructTechnologyElement(technology) { /* success */ $('#toggle_connman_' + technology.prop.Type).slider('enable'); $('#toggle_connman_' + technology.prop.Type).slider('refresh'); - if (technology.prop.Type === 'wifi') { - setTimeout(function() { - /* add a 1 sec delay */ - connmanScan(technology.id); - }, 1000); - } console.log('Successfully enabled connman technology ' + technology.prop.Type); }, function(e) { /* error */