Description: When connection is switched back to wireless after
setting wired new network config menu, the wireless list was not
being shown because the current menu type was not set to wireles
type.
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I5ed7b0d8507a684d73710a37bf7e7e79f2310f3d
priv = data;
switch (id) {
case TYPE_WIRELESS:
+ priv->cur_type = TYPE_WIRELESS;
_retry_wireless_network(priv);
break;
case TYPE_WIRED:
return;
}
- viewmgr_pop_view();
if (!viewmgr_remove_view(VIEW_WIRELESS_SCANNING)) {
_ERR("Remove view failed");
}