staging: et131x: Fix link detection signalling
authorMark Einon <mark.einon@gmail.com>
Tue, 23 Aug 2011 22:40:38 +0000 (23:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 23:25:28 +0000 (16:25 -0700)
commitc922d1241ff37ab2db0f1a29e4b043fe1d8a8e8c
tree98b3145b7046e6398d3f614bfb63f632bee1119c
parent10f00a49b048abf759b789a84c4c3431360aa38f
staging: et131x: Fix link detection signalling

Remove redundant code around netif_carrier_XXX calls, and associated adapter->media_state, which prevented the link from being reported as off.
Tested on an ET-1310 device.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_phy.c
drivers/staging/et131x/et131x_adapter.h
drivers/staging/et131x/et131x_initpci.c