>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On
>Behalf Of Marcel Holtmann
>Sent: 2009年6月27日 22:37
>To: [email protected]
>Subject: Re: patch to fix bug 3559
>
>Hi Josh,
>
>> > > I have worked out a patch to fix bug 3559. please review. > The root
>> >  cause of the issue is: > Currently, ethernet service is created on
>> >  registering ethernet device, and the service will not be removed
>> >  untill device removing. I think the right way is to creat service once
>> >  detecting carrier, and remove the service on carrier off. Becuase the
>> >  ethernet service should depend on the ethernet carrier.
>> >
>> > I was thinking about this, but I am not sure if it is the right way. So
>> > originally we said that it is up to the UI to filter out service with
>> > type Ethernet and Favorite set to false.
>> >
>> > We can argue this in both directions. So should the service API do this
>> > filtering for us or do we expect the UI to do it.
>>
>> Seems to me like it would be more in the spirit of the Service API, i.e.
>> making writing front-ends simple, if we do the filtering in the daemon.
>
>as I said, it can be argued in both directions. I am open for arguments
>here. So far we said that the filtering has to be done in the UI.
>
I agree to use some simple filter in UI like hidden service. But specific to 
this case, it should be done at ConnMan side. I think it is quite natural and 
logistical to create/remove Ethernet service when carrier on/off.
The Ethernet service without Ethernet carrier is no meaning at all. :-)
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to