From 406c8658e4b960dc1c3f2cedcaa913cfa25b7c4f Mon Sep 17 00:00:00 2001 From: Priya Kohli Date: Wed, 12 Jul 2017 11:48:28 +0530 Subject: [PATCH] Setting cur type as Wired for Wired Menu. Change-Id: I5745a42860e3aecf72b7759089bf80cd4682c1e1 Signed-off-by: Priya Kohli --- src/layout/layout_network.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/layout/layout_network.c b/src/layout/layout_network.c index fa58589..f7f29d4 100644 --- a/src/layout/layout_network.c +++ b/src/layout/layout_network.c @@ -192,13 +192,10 @@ static void _selected(void *data, int id) _retry_wireless_network(priv); break; case TYPE_WIRED: - SETTING_TRACE("Wired network"); - _retry_wired_network(priv); - break; - -/* if (!viewmgr_show_view(VIEW_WIRED)) - _ERR("Show wired view failed."); - break;*/ + SETTING_TRACE("Wired network"); + priv->cur_type = TYPE_WIRED; + _retry_wired_network(priv); + break; default: _ERR("Invalid menu."); } -- 2.7.4