summary refs log tree commit diff
path: root/src/core/supplicant
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
commit8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch)
treef706478d189d54c6532e8863d4b0d5ff5575af60 /src/core/supplicant
parent818258cf34b83fbc754633295e1052d4752d7b15 (diff)
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'src/core/supplicant')
-rw-r--r--src/core/supplicant/nm-supplicant-config.c2
-rw-r--r--src/core/supplicant/nm-supplicant-interface.c16
-rw-r--r--src/core/supplicant/nm-supplicant-manager.c2
3 files changed, 10 insertions, 10 deletions
diff --git a/src/core/supplicant/nm-supplicant-config.c b/src/core/supplicant/nm-supplicant-config.c
index 4433e809..9e066395 100644
--- a/src/core/supplicant/nm-supplicant-config.c
+++ b/src/core/supplicant/nm-supplicant-config.c
@@ -154,7 +154,7 @@ nm_supplicant_config_add_option_with_type(NMSupplicantConfig *self,
     }
 
     opt  = g_slice_new(ConfigOption);
-    *opt = (ConfigOption){
+    *opt = (ConfigOption) {
         .value = nm_memdup_nul(value, len),
         .len   = len,
         .type  = type,
diff --git a/src/core/supplicant/nm-supplicant-interface.c b/src/core/supplicant/nm-supplicant-interface.c
index eb7a40a5..d5f56dcd 100644
--- a/src/core/supplicant/nm-supplicant-interface.c
+++ b/src/core/supplicant/nm-supplicant-interface.c
@@ -714,7 +714,7 @@ _bss_info_properties_changed(NMSupplicantInterface *self,
     if (v_v) {
         arr_data = g_variant_get_fixed_array(v_v, &arr_len, 1);
         if (arr_len == ETH_ALEN && memcmp(arr_data, &nm_ether_addr_zero, ETH_ALEN) != 0
-            && memcmp(arr_data, (char[ETH_ALEN]){0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}, ETH_ALEN)
+            && memcmp(arr_data, (char[ETH_ALEN]) {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}, ETH_ALEN)
                    != 0) {
             /* pass */
         } else
@@ -839,7 +839,7 @@ _bss_info_add(NMSupplicantInterface *self, const char *object_path)
     }
 
     bss_info  = g_slice_new(NMSupplicantBssInfo);
-    *bss_info = (NMSupplicantBssInfo){
+    *bss_info = (NMSupplicantBssInfo) {
         ._self             = self,
         .bss_path          = g_steal_pointer(&bss_path),
         ._init_cancellable = g_cancellable_new(),
@@ -953,7 +953,7 @@ _peer_info_properties_changed(NMSupplicantInterface *self,
     if (v_v) {
         arr_data = g_variant_get_fixed_array(v_v, &arr_len, 1);
         if (arr_len == ETH_ALEN && memcmp(arr_data, &nm_ether_addr_zero, ETH_ALEN) != 0
-            && memcmp(arr_data, (char[ETH_ALEN]){0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}, ETH_ALEN)
+            && memcmp(arr_data, (char[ETH_ALEN]) {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}, ETH_ALEN)
                    != 0) {
             /* pass */
         } else
@@ -1037,7 +1037,7 @@ _peer_info_add(NMSupplicantInterface *self, const char *object_path)
     }
 
     peer_info  = g_slice_new(NMSupplicantPeerInfo);
-    *peer_info = (NMSupplicantPeerInfo){
+    *peer_info = (NMSupplicantPeerInfo) {
         ._self             = self,
         .peer_path         = g_steal_pointer(&peer_path),
         ._init_cancellable = g_cancellable_new(),
@@ -1831,7 +1831,7 @@ _wps_start(NMSupplicantInterface *self, const char *type, const char *bssid, con
         }
 
         wps_data  = g_slice_new(WpsData);
-        *wps_data = (WpsData){
+        *wps_data = (WpsData) {
             .self  = self,
             .type  = g_strdup(type),
             .bssid = g_strdup(bssid),
@@ -2381,7 +2381,7 @@ add_network(NMSupplicantInterface *self)
      * For that we also have a shutdown_wait_obj so that on exit we still wait
      * to handle the response. */
     add_network_data  = g_slice_new(AddNetworkData);
-    *add_network_data = (AddNetworkData){
+    *add_network_data = (AddNetworkData) {
         .assoc_data        = priv->assoc_data,
         .name_owner        = nm_ref_string_ref(priv->name_owner),
         .object_path       = nm_ref_string_ref(priv->object_path),
@@ -2534,7 +2534,7 @@ nm_supplicant_interface_assoc(NMSupplicantInterface       *self,
     nm_supplicant_interface_disconnect(self);
 
     assoc_data  = g_slice_new(AssocData);
-    *assoc_data = (AssocData){
+    *assoc_data = (AssocData) {
         .self      = self,
         .cfg       = g_object_ref(cfg),
         .callback  = callback,
@@ -2707,7 +2707,7 @@ nm_supplicant_interface_request_scan(NMSupplicantInterface                   *se
     }
 
     data  = g_slice_new(ScanRequestData);
-    *data = (ScanRequestData){
+    *data = (ScanRequestData) {
         .self        = self,
         .callback    = callback,
         .user_data   = user_data,
diff --git a/src/core/supplicant/nm-supplicant-manager.c b/src/core/supplicant/nm-supplicant-manager.c
index 3b805693..ea8d0865 100644
--- a/src/core/supplicant/nm-supplicant-manager.c
+++ b/src/core/supplicant/nm-supplicant-manager.c
@@ -693,7 +693,7 @@ nm_supplicant_manager_create_interface(NMSupplicantManager                 *self
     priv = NM_SUPPLICANT_MANAGER_GET_PRIVATE(self);
 
     handle  = g_slice_new(NMSupplMgrCreateIfaceHandle);
-    *handle = (NMSupplMgrCreateIfaceHandle){
+    *handle = (NMSupplMgrCreateIfaceHandle) {
         .self               = g_object_ref(self),
         .callback           = callback,
         .callback_user_data = user_data,