Re: [PATCH] Don't generate a connection for unmanaged devices.

2014-03-31 Thread Dan Williams
On Mon, 2014-03-31 at 13:00 -0500, Dan Williams wrote: > On Mon, 2014-03-31 at 21:41 +0400, Mikhail Efremov wrote: > > Hello! > > > > I have a bridge that was created before the start of NM and it > > shouldn't be managed by NM. But NM ignores unmanaged specs from a > > plugin: device_has_config()

Re: [PATCH] Don't generate a connection for unmanaged devices.

2014-03-31 Thread Dan Williams
On Mon, 2014-03-31 at 21:41 +0400, Mikhail Efremov wrote: > Hello! > > I have a bridge that was created before the start of NM and it > shouldn't be managed by NM. But NM ignores unmanaged specs from a > plugin: device_has_config() always returns TRUE for bridges, so default > connection is genera

[PATCH] Don't generate a connection for unmanaged devices.

2014-03-31 Thread Mikhail Efremov
Hello! I have a bridge that was created before the start of NM and it shouldn't be managed by NM. But NM ignores unmanaged specs from a plugin: device_has_config() always returns TRUE for bridges, so default connection is generated and NM tries to manage the bridge. Attached patch fixes this, alth