Skip to content

networks: Fix issue when looking up AP details

Sunil Mohan Adapa requested to merge SunilMohanAdapa:fix-wifi-ap-status into master

Created by: SunilMohanAdapa

As reported by Jan Costermans, it is possible that for an access point scanned by a Wi-Fi device, get_ssid() returns None. The reported issue is as follows:

if access_point.get_ssid().get_data() == ssid:

AttributeError: 'NoneType' object has no attribute 'get_data'

Merge request reports

Loading