Skip to content
Snippets Groups Projects
Commit 96d31329 authored by Baghmar Tarun's avatar Baghmar Tarun
Browse files

connman-usb-tethering dialog issue


connman-test-service.py script is not handling the issue when the ethernet technology is not enabled,
it shows the dialog error and stops.

Fix: Added check if no interface is available.

Apertis: T5931

Signed-off-by: default avatarTarun Baghmar <tarun.baghmar@in.bosch.com>
parent 62f0b960
No related branches found
No related tags found
1 merge request!205connman-usb-tethering dialog issue
......@@ -210,6 +210,10 @@ if __name__ == "__main__":
"net.connman.Manager")
services = manager.GetServices()
if len(services) == 0 :
print "Error: Ethernet Interface not enabled"
exit(1)
options = {}
for path, props in services:
identifier = path[path.rfind("/") + 1:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment