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)
commit0a46bac0c5e02585af5c25a07584b5f1174f9ae7
tree5b3854aae4d84221cd2f4e1ce79224a8b5be4d61
parenta4791254b6625b06aa33e36304f6e8a1a4a1fdea
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