From ffe9ce80342a39821a6c3b2922183be8a2dfd96a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 14 Sep 2020 14:02:30 -0700 Subject: [PATCH] station: print which BSS is being connected to For multi-bss networks its nice to know which BSS is being connected to. The ranking can hint at it, but blacklisting or network capabilities could effect which network is actually chosen. An explicit debug print makes debugging much easier. --- src/station.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/station.c b/src/station.c index a8d8ad08..7fb4ae77 100644 --- a/src/station.c +++ b/src/station.c @@ -2423,6 +2423,8 @@ int __station_connect_network(struct station *station, struct network *network, return r; } + l_debug("connecting to BSS "MAC, MAC_STR(bss->addr)); + station->connected_bss = bss; station->connected_network = network;