[Cbe-oss-dev] [PATCH] ps3: fix return value in the case of tx error
Masakazu Mokuno
mokuno at sm.sony.co.jp
Thu Jul 12 16:59:26 EST 2007
Hi
This patch fixes the improper return value of the hard_start_xmit()
handler of PS3 gelic network driver.
Signed-off-by: Masakazu Mokuno <mokuno at sm.sony.co.jp>
---
drivers/net/ps3_gelic_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -803,7 +803,7 @@ kick:
error:
card->netdev_stats.tx_dropped++;
spin_unlock_irqrestore(&card->tx_dma_lock, flags);
- return NETDEV_TX_LOCKED;
+ return NETDEV_TX_BUSY;
}
/**
--
Masakazu MOKUNO
More information about the cbe-oss-dev
mailing list