[PATCH v4 24/26] auto-t: fix testWPA2 to wait for device object