commit | d9efd2af461abb7b54c49c1b7e654d496dd1d379 | [log] [tgz] |
---|---|---|
author | Sarveshwar Bandi <Sarveshwar.Bandi@emulex.com> | Thu Nov 18 23:44:45 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 19 08:57:19 2010 -0800 |
tree | bd5adfe7c959ea1bca55f0f7dcd7e2c23701a304 | |
parent | dba4490d22a496f9b7c21919cf3effbed5851213 [diff] |
be2net: Fix to avoid firmware update when interface is not open. Since interrupts are enabled only when open is called on the interface, Attempting a firmware update operation when interface is down could lead to partial success or failure of operation. This fix fails the request if netif_running is false. Signed-off-by: Sarveshwar Bandi <Sarveshwar.Bandi@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>