switch: reverse if else in handle_vlan_port_read()


git-svn-id: svn://svn.openwrt.org/openwrt@35581 3c298f89-4303-0410-b956-a3cf2f4a3e73
switch: fix switches with more than 6 ports

This is based on a patch by jcharest and the Broadcom SDK.


git-svn-id: svn://svn.openwrt.org/openwrt@35582 3c298f89-4303-0410-b956-a3cf2f4a3e73