[][Fix switch command can be used both in 7531 and jaguar]

[Description]
Fix switch command can be used both in 7531 and jaguar.
The change sumbit before affects the use of switch command in 7531.
(https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6189993.)

This change modifies the initialization sequence, first netlink initialization, then ioctl initialization.

[Release-log]
N/A

Change-Id: I889cea3f6fce7a1dfa9c68d822afb3f307378378
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6248306
4 files changed