commit | 0aff1fbfe72e47412e3213648e972c339af30e4e | [log] [tgz] |
---|---|---|
author | Sathya Perla <sathya.perla@broadcom.com> | Wed Jul 27 05:26:16 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 15:38:27 2016 -0700 |
tree | e278ded2c75303dcd558464f437b835e66cd301a | |
parent | 841f60fcc4e7986a4ef3f83a289ab47076872e42 [diff] |
be2net: do not remove vids from driver table if be_vid_config() fails. The driver currently removes a new vid from the adapter->vids[] array if be_vid_config() returns an error, which occurs when there is an error in HW/FW. This is wrong. After the HW/FW error is recovered from, we need the complete vids[] array to re-program the vlan list. Signed-off-by: Sathya Perla <sathya.perla@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>