From: Vasundhara Volam Date: Tue, 11 Mar 2014 13:23:08 +0000 (+0530) Subject: be2net: Fix vlans_added counter X-Git-Tag: v3.15-rc1~113^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48291c22b75adbbd15227070088c761c04e48a3b;p=pandora-kernel.git be2net: Fix vlans_added counter When a VLAN is added by user, adapter->vlans_added is incremented. But if the VLAN is already programmed in HW, driver ends up incrementing the counter wrongly. Increment the counter only if VLAN is not already programmed in the HW. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed