- if (properties["Subtype"] == "wifi"):
- print " Started WiFi scanning"
- element.Update()
- elif (properties["Subtype"] == "wimax"):
- print " Started WiMAX scanning"
- element.Update()
+ if properties["Type"] in ["wifi", "wimax"]:
+ print " Started scanning"
+ device.ProposeScan()