2013/10/18 Patrik Flykt <[email protected]> > On Fri, 2013-10-18 at 18:35 +0800, Chengyi Zhao wrote: > > From: Chengyi Zhao <[email protected]> > > > > If system can't find the related network interface > > in /sys/class/net/,ConnMan will set the unknow type to this interface. > > --- > > src/rtnl.c | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/src/rtnl.c b/src/rtnl.c > > index 6d47822..eda6b25 100644 > > --- a/src/rtnl.c > > +++ b/src/rtnl.c > > @@ -139,8 +139,11 @@ static void read_uevent(struct interface_data > *interface) > > > > g_free(filename); > > > > - if (!f) > > + if (!f) { > > + interface->service_type = CONNMAN_SERVICE_TYPE_UNKNOWN; > > + interface->device_type = CONNMAN_DEVICE_TYPE_UNKNOWN; > > return; > > + } > > If ethernet has always had an uevent file (above, where 'f' is opened), > the default non-blacklisted branch where ethernet types were set could > be moved between 'if (!f) return;' and 'found_devtype = false;'. If > ethernet has not always had an uevent file, this cannot be done. > > What is the bug you are fixing here? > > Please investigate this issue:
TIVI-1885 [3.0] net.connman.Error.NotImplemented when trying to scan wifi<https://bugs.tizen.org/jira/browse/TIVI-1885> Cheers, Chengyi <https://bugs.tizen.org/jira/browse/TIVI-1885> _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
