From 32465396ebcd10d8b7072dcde26423e501c4b92f Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 10 Feb 2022 13:06:50 -0800 Subject: [PATCH] station: fix >80 character lines --- src/station.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/station.c b/src/station.c index 6dc0074c..cd119ff1 100644 --- a/src/station.c +++ b/src/station.c @@ -1472,8 +1472,10 @@ static void station_enter_state(struct station *station, case STATION_STATE_CONNECTING_AUTO: /* Refresh the ordered network list */ network_rank_update(station->connected_network, true); - l_queue_remove(station->networks_sorted, station->connected_network); - l_queue_insert(station->networks_sorted, station->connected_network, + l_queue_remove(station->networks_sorted, + station->connected_network); + l_queue_insert(station->networks_sorted, + station->connected_network, network_rank_compare, NULL); l_dbus_property_changed(dbus, netdev_get_path(station->netdev),