aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/wpas-dbus-new-getall.py
diff options
context:
space:
mode:
authorWitold Sowa <witold.sowa@gmail.com>2010-01-09 09:40:15 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-09 09:41:09 (GMT)
commit8e5568f874f591db5e293e58cfe7ca7611977168 (patch)
treea2e819af12e219a22b6493a93ea4fd9f9e6d59f6 /wpa_supplicant/examples/wpas-dbus-new-getall.py
parentc610dba137608dec7614e8de78d7966f7b14d1db (diff)
downloadhostap-8e5568f874f591db5e293e58cfe7ca7611977168.zip
hostap-8e5568f874f591db5e293e58cfe7ca7611977168.tar.gz
hostap-8e5568f874f591db5e293e58cfe7ca7611977168.tar.bz2
dbus: Change BSS, Network and some errors interface names
Remove ".Interface" part from BSS and Network objects and some error names.
Diffstat (limited to 'wpa_supplicant/examples/wpas-dbus-new-getall.py')
-rwxr-xr-xwpa_supplicant/examples/wpas-dbus-new-getall.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/examples/wpas-dbus-new-getall.py b/wpa_supplicant/examples/wpas-dbus-new-getall.py
index e26d0cd..03da187 100755
--- a/wpa_supplicant/examples/wpas-dbus-new-getall.py
+++ b/wpa_supplicant/examples/wpas-dbus-new-getall.py
@@ -38,20 +38,20 @@ def main():
dbus_interface=dbus.PROPERTIES_IFACE)
if len(res) > 0:
bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
- props = bss_obj.GetAll("fi.w1.wpa_supplicant1.Interface.BSS",
+ props = bss_obj.GetAll("fi.w1.wpa_supplicant1.BSS",
dbus_interface=dbus.PROPERTIES_IFACE)
print
- print "GetAll(fi.w1.wpa_supplicant1.Interface.BSS, %s):" % (res[0])
+ print "GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0])
print props
res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks',
dbus_interface=dbus.PROPERTIES_IFACE)
if len(res) > 0:
net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
- props = net_obj.GetAll("fi.w1.wpa_supplicant1.Interface.Network",
+ props = net_obj.GetAll("fi.w1.wpa_supplicant1.Network",
dbus_interface=dbus.PROPERTIES_IFACE)
print
- print "GetAll(fi.w1.wpa_supplicant1.Interface.Network, %s):" % (res[0])
+ print "GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0])
print props
if __name__ == "__main__":