commit | 04d3d6247fa39d4ee6488f1bd5314879ab9d5c9d | [log] [tgz] |
---|---|---|
author | Somnath Kotur <somnath.kotur@emulex.com> | Thu May 02 03:36:55 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 02 16:43:27 2013 -0400 |
tree | b2a981719e0709a63df0e428598d7bba6b57d903 | |
parent | 701962d0bbc74cfe60a93389a3394ee358362a71 [diff] |
be2net: avoid napi_disable() when it has not been enabled When RQ creation fails in be_open(), driver jumps to be_close() where napi_disable() is done without a prior napi_enable(); leading to a hang. This change is needed as there is no way to see if napi is enable/disabled. Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com> Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>