network: Do not report any error when removing a connecting network
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Wed, 16 Jan 2013 10:57:14 +0000 (12:57 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 16 Jan 2013 14:53:14 +0000 (16:53 +0200)
commita07312e3a052f409e4457e26b258119ef4084368
treeec68efd8261198ddb63638f335cca51a5dfb6227
parent13125bd133bf8c31700c16a6deb1a529077675d7
network: Do not report any error when removing a connecting network

When connecting a network, if it's related technology is disabled, this network
will raise an error through the agent. Leading to a possible retry request from
the user, then to a crash if the user does so.
Thus, we prevent any error to be raised in such situation and silently disconnect
the connecting network instead.
src/network.c