summaryrefslogtreecommitdiff
path: root/src/supplicant/nm-supplicant-interface.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-01 11:56:21 +0200
committerThomas Haller <thaller@redhat.com>2020-04-03 11:26:49 +0200
commitb10c382b1d78175687d6fe034213385492ff5937 (patch)
tree242f74b7a6e88208cfbecd21a15a1f99c15dcd76 /src/supplicant/nm-supplicant-interface.c
parent80e7e8845abbfebc3631a762949aa746bad56bb8 (diff)
wifi/trivial: rename function nm_supplicant_interface_state_is_operational() from upper case name
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.c')
-rw-r--r--src/supplicant/nm-supplicant-interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c
index b72962804f..cc3d109e35 100644
--- a/src/supplicant/nm-supplicant-interface.c
+++ b/src/supplicant/nm-supplicant-interface.c
@@ -443,7 +443,7 @@ _notify_maybe_scanning (NMSupplicantInterface *self)
NMSupplicantInterfacePrivate *priv = NM_SUPPLICANT_INTERFACE_GET_PRIVATE (self);
gboolean scanning;
- scanning = NM_SUPPLICANT_INTERFACE_STATE_IS_OPERATIONAL (priv->state)
+ scanning = nm_supplicant_interface_state_is_operational (priv->state)
&& ( priv->scanning_property
|| priv->supp_state == NM_SUPPLICANT_INTERFACE_STATE_SCANNING);
@@ -1115,7 +1115,7 @@ set_state (NMSupplicantInterface *self, NMSupplicantInterfaceState new_state)
nm_assert (new_state > NM_SUPPLICANT_INTERFACE_STATE_STARTING);
nm_assert (new_state < NM_SUPPLICANT_INTERFACE_STATE_DOWN);
- nm_assert (NM_SUPPLICANT_INTERFACE_STATE_IS_OPERATIONAL (new_state));
+ nm_assert (nm_supplicant_interface_state_is_operational (new_state));
nm_assert (priv->state >= NM_SUPPLICANT_INTERFACE_STATE_STARTING);
nm_assert (priv->state < NM_SUPPLICANT_INTERFACE_STATE_DOWN);
@@ -1237,7 +1237,7 @@ _starting_check_ready (NMSupplicantInterface *self)
nm_assert (priv->state == NM_SUPPLICANT_INTERFACE_STATE_STARTING);
- if (!NM_SUPPLICANT_INTERFACE_STATE_IS_OPERATIONAL (priv->supp_state)) {
+ if (!nm_supplicant_interface_state_is_operational (priv->supp_state)) {
_LOGW ("Supplicant state is unknown during initialization. Destroy the interface");
set_state_down (self, TRUE, "failure to get valid interface state");
return;