Fix BSS property names in the example D-Bus script
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
60d5a5a5fd
commit
0be3542338
1 changed files with 2 additions and 2 deletions
|
@ -59,12 +59,12 @@ def showBss(bss):
|
||||||
dbus_interface=dbus.PROPERTIES_IFACE)
|
dbus_interface=dbus.PROPERTIES_IFACE)
|
||||||
ssid = byte_array_to_string(val)
|
ssid = byte_array_to_string(val)
|
||||||
|
|
||||||
val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'WPAIE',
|
val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'WPA',
|
||||||
dbus_interface=dbus.PROPERTIES_IFACE)
|
dbus_interface=dbus.PROPERTIES_IFACE)
|
||||||
wpa = "no"
|
wpa = "no"
|
||||||
if val != None:
|
if val != None:
|
||||||
wpa = "yes"
|
wpa = "yes"
|
||||||
val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'RSNIE',
|
val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'RSN',
|
||||||
dbus_interface=dbus.PROPERTIES_IFACE)
|
dbus_interface=dbus.PROPERTIES_IFACE)
|
||||||
wpa2 = "no"
|
wpa2 = "no"
|
||||||
if val != None:
|
if val != None:
|
||||||
|
|
Loading…
Reference in a new issue