connman: fix default technology change
Log "default technology changed" only if it really changed SVN revision: 48481
This commit is contained in:
parent
9869d0e479
commit
56fff0c70f
|
@ -830,8 +830,8 @@ _connman_default_service_changed(E_Connman_Module_Context *ctxt)
|
|||
|
||||
if (!e_connman_manager_technology_default_get(&tech))
|
||||
tech = NULL;
|
||||
eina_stringshare_replace(&ctxt->technology, tech);
|
||||
DBG("Manager technology is '%s'", tech);
|
||||
if (eina_stringshare_replace(&ctxt->technology, tech))
|
||||
DBG("Manager technology is '%s'", tech);
|
||||
|
||||
if (!e_connman_manager_offline_mode_get(&ctxt->offline_mode))
|
||||
ctxt->offline_mode = EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue