mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
networks: Prefill proper Wi-Fi device in add form
Add access points found on a particular Wi-Fi device only to that device as it is not gauranteed that other Wi-Fi devices will be able to find them. For example, an access point operating in 5 GHz frequency will only be found and used by Wi-Fi devices capable for 5 GHz communication.
This commit is contained in:
1 parent
408aa8910a
commit
682e5d7c2d
4 files changed
+6
-5
No files matched your search
@@ -624,6 +624,7 @@ def wifi_scan():
|
||||
ssid = access_point.get_ssid()
|
||||
ssid_string = ssid.get_data() if ssid else ''
|
||||
access_points.append({
|
||||
'interface_name': device.get_iface(),
|
||||
'ssid': ssid_string,
|
||||
'strength': access_point.get_strength()})
|
||||
|
||||
|
||||
Reference in new issue
Block a user