]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix be_vlan_add/rem_vid() routines
authorSomnath Kotur <somnath.kotur@emulex.com>
Tue, 21 Jan 2014 10:20:55 +0000 (15:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 07:12:59 +0000 (23:12 -0800)
commitc204e08d6f633cfe40c736862625f6ed047fdc49
tree3acd8676541645da194b2dedf1523a5412e4514d
parentb031769e90801176a53af7c8e2667afdbb664aa6
be2net: Fix be_vlan_add/rem_vid() routines

The current logic to put interface into VLAN Promiscous mode is not correct.
We should increment "adapter->vlans_added" before calling be_vid_config().
Also removed some unwanted log messages.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c