]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: don't call vid_config() when there's no vlan config
authorSathya Perla <sathya.perla@emulex.com>
Tue, 5 Jun 2012 19:37:17 +0000 (19:37 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 14:06:27 +0000 (07:06 -0700)
commit26afe800113ce757aa79e3044bb848bd46c03550
tree7e697a026ad1583e74d2afaaddecc6427473896c
parent6706f6dd109e6970aea27af8fe6541d6e7458172
be2net: don't call vid_config() when there's no vlan config

be_vid_config() is called from be_setup() to replay config cmds after
a card reset. Skip calling it when no vlans are configured.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c