diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-06 00:00:11 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-06 00:00:11 +0100 |
commit | dc904e17f98346d1d233dc090c3195c33ff5f71d (patch) | |
tree | 3009e72077265fb505b2754b679262fb77f6723d /test/disable-network | |
parent | aa7b81c7494f844bb4f08647868ae3bd0ce038b4 (diff) | |
download | connman-dc904e17f98346d1d233dc090c3195c33ff5f71d.tar.gz connman-dc904e17f98346d1d233dc090c3195c33ff5f71d.tar.bz2 connman-dc904e17f98346d1d233dc090c3195c33ff5f71d.zip |
Don't check non wireless devices
Diffstat (limited to 'test/disable-network')
-rwxr-xr-x | test/disable-network | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/disable-network b/test/disable-network index beea2f10..0f261549 100755 --- a/test/disable-network +++ b/test/disable-network @@ -15,6 +15,9 @@ for path in properties["Devices"]: properties = device.GetProperties() + if (properties["Type"] != "wifi" and properties["Type"] != "wimax"): + continue; + print "[ %s ]" % (path) for path in properties["Networks"]: |