]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Clear link status when interface is down
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 22 Mar 2013 05:57:56 +0000 (05:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 16:47:29 +0000 (12:47 -0400)
commit4e782a24fc4f2b47cedbb59e706439b27aa232c6
tree5b3854aae4d84221cd2f4e1ce79224a8b5be4d61
parent1c2d8d46660908ce4393aae09ec40095715929c2
qlcnic: Clear link status when interface is down

o When interface is down, mailbox command to get context statistics
  fails. So restrict driver from issuing get statistics command when
  interface is down.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c