interface: use interface_set_main_dev() from interface_remove_link
authorFelix Fietkau <nbd@openwrt.org>
Fri, 2 May 2014 17:07:18 +0000 (19:07 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 2 May 2014 17:07:28 +0000 (19:07 +0200)
commitc9dadceeba2faa311e4a086f1c6a5eb0d5577c9f
treeb63a85283fe5bbf1730b49da9703e862804874bd
parent7233afd94910cb4583c9555840a990287fd5d642
interface: use interface_set_main_dev() from interface_remove_link

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface.c