connman - add an explicit scan when popping up the popup.
this may make connman now list wifi networks if you use the new iwd instead of wpa_supplicant
This commit is contained in:
parent
5311687e6d
commit
edfb14460d
|
@ -82,6 +82,8 @@ extern int E_CONNMAN_EVENT_MANAGER_OUT;
|
||||||
/* Daemon monitoring */
|
/* Daemon monitoring */
|
||||||
unsigned int e_connman_system_init(Eldbus_Connection *eldbus_conn) EINA_ARG_NONNULL(1);
|
unsigned int e_connman_system_init(Eldbus_Connection *eldbus_conn) EINA_ARG_NONNULL(1);
|
||||||
unsigned int e_connman_system_shutdown(void);
|
unsigned int e_connman_system_shutdown(void);
|
||||||
|
void e_connman_scan(struct Connman_Manager *cm);
|
||||||
|
|
||||||
|
|
||||||
/* Requests from UI */
|
/* Requests from UI */
|
||||||
|
|
||||||
|
|
|
@ -991,3 +991,9 @@ e_connman_system_shutdown(void)
|
||||||
|
|
||||||
return init_count;
|
return init_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
e_connman_scan(struct Connman_Manager *cm)
|
||||||
|
{
|
||||||
|
eldbus_proxy_call(cm->technology_iface, "Scan", NULL, NULL, -1, "");
|
||||||
|
}
|
||||||
|
|
|
@ -271,6 +271,8 @@ _econnman_popup_new(E_Connman_Instance *inst)
|
||||||
if (!ctxt->cm)
|
if (!ctxt->cm)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
e_connman_scan(ctxt->cm);
|
||||||
|
|
||||||
inst->popup = e_gadcon_popup_new(inst->gcc, 0);
|
inst->popup = e_gadcon_popup_new(inst->gcc, 0);
|
||||||
evas = e_comp->evas;
|
evas = e_comp->evas;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue