Marcel:
> -----Original Message-----
> From: connman-boun...@connman.net
> [mailto:connman-boun...@connman.net] On Behalf Of Marcel Holtmann
> Sent: Saturday, February 19, 2011 1:31 AM
> To: connman@connman.net
> Subject: Re: [PATCH 2/2] tethering: Using /proc/sys/net/bridge to detect the
> support of bridge
> 
> Hi Martin,
> 
> > If bridge is built in knerl, /sys/module/bridge can not be used to detect
> > the support of bridge in kernel.
> > ---
> >  src/tethering.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/tethering.c b/src/tethering.c
> > index 705f5ee..15e1ed9 100644
> > --- a/src/tethering.c
> > +++ b/src/tethering.c
> > @@ -35,7 +35,7 @@
> >
> >  #include <gdhcp/gdhcp.h>
> >
> > -#define BRIDGE_SYSFS_DIR "/sys/module/bridge"
> > +#define BRIDGE_SYSFS_DIR "/proc/sys/net/bridge"
> 
> are you sure this is correct? Even builtin kernel modules should show up
> under /sys/module.
My built in kernel doesn't export that under /sys/module/bridge and ConnMan run 
into error. 
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to