summaryrefslogtreecommitdiffstats
path: root/drivers/net/3c505.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c505.c')
-rw-r--r--drivers/net/3c505.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/3c505.c b/drivers/net/3c505.c
index d66393649..5a5d5fcf0 100644
--- a/drivers/net/3c505.c
+++ b/drivers/net/3c505.c
@@ -361,8 +361,7 @@ static inline unsigned int send_pcb_fast(unsigned int base_addr, unsigned char b
static inline void prime_rx(struct net_device *dev)
{
elp_device *adapter = dev->priv;
- while (adapter->rx_active < ELP_RX_PCBS &&
- netif_running(dev->state)) {
+ while (adapter->rx_active < ELP_RX_PCBS && netif_running(dev)) {
if (!start_receive(dev, &adapter->itx_pcb))
break;
}