Skip to content

getWifiAccessPoints returns empty list if no wifi scan has been performed yet #3245

@flatsiedatsie

Description

@flatsiedatsie

I've noticed two small issues with the (otherwise awesome) new implementation of networking via nmcli.

getWifiAccessPoints can return a list with only the currently connected access point, as it seems to return a cached list from the last scan it performed. But after boot this list remains empty for a while. Actively telling NetworkManager to perform a scan solves this.

So after nmcli dev wifi the gateway UI does list many available wifi access points.

It seems that with mesh-wifi and/or repeater setups empty SSID's can appear in the list of found accesspoints. Currently the UI shows these as empty options.

All empty ones seem to have the same mac address as a populated one (they show up in pairs, one with name, and one without), so filtering them out should be fine.

It seems that with mesh-wifi and/or repeater setups duplicate SSID's can appear in the list of found accesspoints. Currently the UI shows all the various nodes of such a network separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions