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.
This commit is contained in:
James Prestwood 2020-09-14 14:02:30 -07:00 committed by Denis Kenzior
parent 3e1a0539f5
commit ffe9ce8034
1 changed files with 2 additions and 0 deletions

View File

@ -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;