commit ffe9ce80342a39821a6c3b2922183be8a2dfd96a
parent 3e1a0539f57500ef8ad66404f85266b8f80ba84c
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 14 Sep 2020 14:02:30 -0700
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.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;