netifd: Set device down based on being a non external device in device_release
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 30 Jul 2014 10:56:29 +0000 (10:56 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 30 Jul 2014 13:21:55 +0000 (15:21 +0200)
commitc09e944416d76ed162efc55483f987cd537c2c8b
tree5def42f96f840b71e1c5cf7c491e5db08cdf2180
parent4bf89afc22b43d5bd155d32d3998348a77179c1a
netifd: Set device down based on being a non external device in device_release

Line up the device state manipulation by checking the external device parameter consistent and not the hotplug device parameter

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
device.c