aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ps3_gelic_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r--drivers/net/ps3_gelic_net.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c
index 94422fcc8576..4acc17bffc42 100644
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -838,9 +838,11 @@ static int gelic_card_kick_txdma(struct gelic_card *card,
838 card->tx_dma_progress = 1; 838 card->tx_dma_progress = 1;
839 status = lv1_net_start_tx_dma(bus_id(card), dev_id(card), 839 status = lv1_net_start_tx_dma(bus_id(card), dev_id(card),
840 descr->bus_addr, 0); 840 descr->bus_addr, 0);
841 if (status) 841 if (status) {
842 card->tx_dma_progress = 0;
842 dev_info(ctodev(card), "lv1_net_start_txdma failed," \ 843 dev_info(ctodev(card), "lv1_net_start_txdma failed," \
843 "status=%d\n", status); 844 "status=%d\n", status);
845 }
844 } 846 }
845 return status; 847 return status;
846} 848}