device: Disconnect a connected network before disabling the device
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 6 Oct 2011 11:00:38 +0000 (14:00 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 6 Oct 2011 11:24:14 +0000 (13:24 +0200)
commitb0e29168ce7dd6f9e74546651d8568e3706c87d1
treefd617ddba61b19a0519d1195836c7cf0c8840282
parentc74a18264baee0163915a77f0b8c8308c077f5b1
device: Disconnect a connected network before disabling the device

When disabling a device, disconnect the device's connected network,
if there are any.

Fixes BCM#23165.
src/device.c