ThanosFisherman / WifiUtils

Easily Connect to WiFi Networks
Apache License 2.0
731 stars 188 forks source link

Avoid a null pointer exception on some old devices #130

Closed KaHa6uc closed 1 year ago

KaHa6uc commented 1 year ago

Description

Some legacy devices somehow manage to return a WiFiConfiguration object with a null SSID.

Solution

This PR simply checks if the WiFiConfiguration being iterated has a null SSID

ThanosFisherman commented 1 year ago

Thanks for that.