You connect to it via BT first and then configure WiFi details.
Friend clearly didn't live very far away
And therefore the location was within range of the WiFi network, not really netting a privacy gain, if at all? Especially since SSID databases exist and are used for more accurate location detection.