-From b5afe5a862fc2854cc7c71db8c07dc80ca663fd9 Mon Sep 17 00:00:00 2001
-From: Jan Palus <jpalus@fastmail.com>
-Date: Sat, 20 Feb 2021 14:32:35 +0100
-Subject: [PATCH] iwd: terminate interface_order array with NULL
-
-fixes segfault with iwd backend after upgrade to NetworkManager 1.30.0
-
-Signed-off-by: Jan Palus <jpalus@fastmail.com>
----
- src/core/devices/wifi/nm-iwd-manager.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/core/devices/wifi/nm-iwd-manager.c b/src/core/devices/wifi/nm-iwd-manager.c
-index b0b208ac5..12d9b37d2 100644
---- a/src/core/devices/wifi/nm-iwd-manager.c
-+++ b/src/core/devices/wifi/nm-iwd-manager.c
-@@ -1119,6 +1119,7 @@ object_compare_interfaces(gconstpointer a, gconstpointer b)
- NM_IWD_KNOWN_NETWORK_INTERFACE,
- NM_IWD_NETWORK_INTERFACE,
- NM_IWD_DEVICE_INTERFACE,
-+ NULL
- };
- int rank_a = G_N_ELEMENTS(interface_order);
- int rank_b = G_N_ELEMENTS(interface_order);
---
-2.30.1
-