drivers: net: ipq6018: Config port only if link up

Without this change, even during link down, all
the ports were getting configured. This introduces
unnecessary delay.

This patch changes this behaviour and does the
configurations based on link speed, only when link
is up.

Change-Id: Ideed015ab087b317d2617369496c46abf21979f9
Signed-off-by: speriaka <speriaka@codeaurora.org>
1 file changed