be2net: Clear any capability flags that driver is not interested in.
authorSarveshwar Bandi <sarveshwar.bandi@emulex.com>
Wed, 14 Aug 2013 07:51:47 +0000 (13:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:22:12 +0000 (01:22 -0700)
commit3da988c91d9c167994703a9d6f9e645df22c3c95
tree9d527b8684ce4176f6f2eecbbb882c39fbf24763
parentd9bf5f130946695063469749bfd190087b7fad39
be2net: Clear any capability flags that driver is not interested in.

It is possible for some versions of firmware to advertise capabilities that driver
is not ready to handle. This may lead to controller stall. Since the driver is
interested only in subset of flags, clearing the rest.

Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h