eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2b5e566c9dc46a0469b219456cfa8919e3bf0519
parent 4577ee01f2510ee565bec20f1d23ff8dc3da05d5
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 15 Mar 2021 12:15:29 -0700

station: use network_bss_update

This fixes a dangling pointer in network where station was
freeing the scan_bss but network still had a pointer to it
in its own bss_list.

Diffstat:
Msrc/station.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -2303,6 +2303,8 @@ static void station_event_roamed(struct station *station, struct scan_bss *new) { struct scan_bss *stale; + network_bss_update(station->connected_network, new); + /* Remove new BSS if it exists in past scan results */ stale = l_queue_remove_if(station->bss_list, bss_match_bssid, new->addr);