Skip to content
Commit f9bf5a2c authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

dsa: make dsa_switch_setup check for valid port names



This patch changes dsa_switch_setup() to ensure that at least one valid
valid port name is specified and will bail out with an error in case we
walked the maximum number of port with a valid port name found.

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f490be04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment