summaryrefslogtreecommitdiff
path: root/src/devices/wwan/nm-modem.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-07-09 17:03:35 +0200
committerThomas Haller <thaller@redhat.com>2018-07-24 09:39:09 +0200
commit39f47e2f7e8c0f9dd26aacb822500c6e40cc3b04 (patch)
tree92e0e0afced528c209926d4b4e41ff114ced67cc /src/devices/wwan/nm-modem.c
parent0ee782d03ecacf31a7d5d74c514ce7157cd04422 (diff)
downloadNetworkManager-39f47e2f7e8c0f9dd26aacb822500c6e40cc3b04.tar.gz
wwan/trivial: rename NMModemClass.check_connection_compatible() to use unique name
We also have NMDeviceClass.check_connection_compatible(). It is preferable to use unique names, especially for the virtual function table. A reasonable thing to do is grep for the function name to find all places that implement this function. But if different classes use the same name, grep just turns up annoying false positives.
Diffstat (limited to 'src/devices/wwan/nm-modem.c')
-rw-r--r--src/devices/wwan/nm-modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/wwan/nm-modem.c b/src/devices/wwan/nm-modem.c
index 62e95cc795..99686b34bf 100644
--- a/src/devices/wwan/nm-modem.c
+++ b/src/devices/wwan/nm-modem.c
@@ -1086,8 +1086,8 @@ nm_modem_check_connection_compatible (NMModem *self, NMConnection *connection)
}
}
- if (NM_MODEM_GET_CLASS (self)->check_connection_compatible)
- return NM_MODEM_GET_CLASS (self)->check_connection_compatible (self, connection);
+ if (NM_MODEM_GET_CLASS (self)->check_connection_compatible_with_modem)
+ return NM_MODEM_GET_CLASS (self)->check_connection_compatible_with_modem (self, connection);
return FALSE;
}