dm9000: report the correct LPA
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 16 Oct 2013 08:41:34 +0000 (11:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2013 17:35:56 +0000 (13:35 -0400)
commit727a282fdb9bc1545542095def45a84d0480f78e
tree887cdf311906920c378dd66fc0524e2513459ce9
parent09ee9f87d02e779e4fc3f5c29212c733d6d6e349
dm9000: report the correct LPA

Report the LPA by checking mii_if_info, instead of just saying "no LPA" every
time.

Cc: David S. Miller <davem@davemloft.net>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c