]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit491386ec34b44f2615c094da17498ccbdcc6b33f
tree9d527b8684ce4176f6f2eecbbb882c39fbf24763
parentb49736810a1cb5240c8dbf8ca6984c4c8edb38a3
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