Skip to content

network: Prevent more device types from showing up in Bluetooth section

Benjamin Berg requested to merge benzea/ignore-more-network-devices into master

The fallback in the network panel is currently to show devices of an unknown type in the bluetooth section. At least the newly added P2P device shows up there, and so may some other device types.

Add the following device types to the ignore list:

  • Open vSwitch related devices
  • WireGuard devices
  • Wi-Fi P2P devices

Depending on libnm 1.16 is not yet feasible, so the NM_DEVICE_TYPE_WIREGUARD and NM_DEVICE_TYPE_WIFI_P2P are not yet used in the switch (and may result in a compile time warning).

Merge request reports