Use ProposeScan method
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Dec 2008 17:22:47 +0000 (18:22 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Dec 2008 17:22:47 +0000 (18:22 +0100)
test/start-scanning

index 9d3f4db..aaa3e58 100755 (executable)
@@ -19,10 +19,10 @@ for path in properties["Devices"]:
 
        if (properties["Type"] == "wifi"):
                print "   Started WiFi scanning"
 
        if (properties["Type"] == "wifi"):
                print "   Started WiFi scanning"
-               device.Scan()
+               device.ProposeScan()
        elif (properties["Type"] == "wimax"):
                print "   Started WiMAX scanning"
        elif (properties["Type"] == "wimax"):
                print "   Started WiMAX scanning"
-               device.Scan()
+               device.ProposeScan()
        else:
                print "   No scanning"
 
        else:
                print "   No scanning"