Fix duplicate wireless scan results
[connman] / 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"
-               device.Scan()
+               device.ProposeScan()
        elif (properties["Type"] == "wimax"):
                print "   Started WiMAX scanning"
-               device.Scan()
+               device.ProposeScan()
        else:
                print "   No scanning"