Vlad Yasevich 3df6bf45ec bridge: Simplify pvid checks.
Currently, if the pvid is not set, we return an illegal vlan value
even though the pvid value is set to 0.  Since pvid of 0 is currently
invalid, just return 0 instead.  This makes the current and future
checks simpler.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-05 21:21:36 -04:00
..
2014-09-10 12:40:10 -07:00
2014-10-05 21:21:36 -04:00
2014-08-22 12:23:11 -07:00
2014-10-04 20:44:44 -04:00
2014-10-03 16:53:33 -07:00
2014-09-30 17:08:06 -04:00
2014-09-10 12:40:10 -07:00
2014-09-07 16:07:25 -07:00
2014-08-13 18:13:19 -06:00
2014-09-10 14:00:58 -07:00