diff options
author | Thomas Haller <thaller@redhat.com> | 2021-01-26 11:42:10 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-01-26 11:42:46 +0100 |
commit | c1529dab36dc095c96c6c89c2c06f088f79405f1 (patch) | |
tree | f0171061e131da810ebba39a85241378f1bb3e5a | |
parent | 004980a38c78be5a11b789bc982c35ea44fb3af0 (diff) | |
download | NetworkManager-c1529dab36dc095c96c6c89c2c06f088f79405f1.tar.gz |
examples: minor bugfix comparing device state in "python/dbus/show-bssids.py"
-rwxr-xr-x | examples/python/dbus/show-bssids.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py index 7db0fd3e1e..17364e4975 100755 --- a/examples/python/dbus/show-bssids.py +++ b/examples/python/dbus/show-bssids.py @@ -35,7 +35,7 @@ for d in devices: # Make sure the device is enabled before we try to use it state = prop_iface.Get("org.freedesktop.NetworkManager.Device", "State") - if state <= 2: + if state <= 20: # NM_DEVICE_STATE_UNAVAILABLE continue # Get device's type; we only want wifi devices |