net/bonding: ensure mode & miimon are handled correctly.
net/bonding: ensure mode & miimon are handled correctly.

miimon & mode must be set before other parameters, and then not changed
again. Prior commit f671e0a28 per bug #421757 introduced a small logic
error. Fixed & refactored to prevent it happening as easily.

X-Gentoo-Bug: 447790
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=447790
Signed-off-by: Robin H. Johnson <aa3b04a87f185a8b919ce94fe21b810489ffb8d4@gentoo.org>

dwfreed/openrc,williamh/openrc,williamh/openrc,williamh/openrc,OpenRC/openrc,OpenRC/openrc,OpenRC/openrc,dwfreed/openrc,dwfreed/openrc