From: Sarveshwar Bandi Date: Thu, 18 Nov 2010 23:44:45 +0000 (+0000) Subject: be2net: Fix to avoid firmware update when interface is not open. X-Git-Tag: v2.6.37-rc3~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9efd2af461abb7b54c49c1b7e654d496dd1d379;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed