mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 03:40:07 +01:00
device: prefer wifi over wwan by default
This makes wifi preferred to wwan (the modem and bluetooth device types to be specific) by default, so that users that care about being connected at all times can keep both enabled with auto-connect. As wifi is usually unmetered and often faster than wwan, it makes sense to prefer it. This is also how pretty much every smart-phone in the world behaves, so it aligns better with user expectations too. https://bugzilla.gnome.org/show_bug.cgi?id=744754
This commit is contained in:
parent
70f5968e9c
commit
3efb6740fc
1 changed files with 4 additions and 4 deletions
|
|
@ -756,14 +756,14 @@ nm_device_get_priority (NMDevice *self)
|
|||
return 400;
|
||||
case NM_DEVICE_TYPE_BRIDGE:
|
||||
return 425;
|
||||
case NM_DEVICE_TYPE_MODEM:
|
||||
return 450;
|
||||
case NM_DEVICE_TYPE_BT:
|
||||
return 550;
|
||||
case NM_DEVICE_TYPE_WIFI:
|
||||
return 600;
|
||||
case NM_DEVICE_TYPE_OLPC_MESH:
|
||||
return 650;
|
||||
case NM_DEVICE_TYPE_MODEM:
|
||||
return 700;
|
||||
case NM_DEVICE_TYPE_BT:
|
||||
return 750;
|
||||
case NM_DEVICE_TYPE_GENERIC:
|
||||
return 950;
|
||||
case NM_DEVICE_TYPE_UNKNOWN:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue