mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 14:38:09 +02:00
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:
parent
275eea195d
commit
8c113e4fc8
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue