bluez: ignore child BNEP interfaces

The interface is owned by the parent NMDeviceBt and is not independently
usable.  If not ignored, NM tries to assume a connection on the bnep
interface and messes the Bluetooth connection up.
This commit is contained in:
Dan Williams 2014-07-03 18:25:05 -05:00
parent 275eea195d
commit 8c113e4fc8

View file

@ -2129,6 +2129,12 @@ platform_link_added (NMManager *self,
}
}
/* Ignore Bluetooth PAN interfaces; they are handled by their NMDeviceBt
* parent and don't get a separate interface.
*/
if (!strncmp (plink->name, "bnep", STRLEN ("bnep")))
return;
if (device == NULL) {
int parent_ifindex = -1;
NMDevice *parent;