Skip to content

Commit

Permalink
ps3: fix wrong calculation of rx descriptor address
Browse files Browse the repository at this point in the history
Fixed the bug that calculation of the address of rx descriptor was
wrong.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Masakazu Mokuno authored and Jeff Garzik committed Jul 24, 2007
1 parent ceded32 commit 9f6c9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ps3_gelic_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ static int gelic_net_open(struct net_device *netdev)
card->descr, GELIC_NET_TX_DESCRIPTORS))
goto alloc_tx_failed;
if (gelic_net_init_chain(card, &card->rx_chain,
card->descr + GELIC_NET_RX_DESCRIPTORS,
card->descr + GELIC_NET_TX_DESCRIPTORS,
GELIC_NET_RX_DESCRIPTORS))
goto alloc_rx_failed;

Expand Down

0 comments on commit 9f6c9a8

Please sign in to comment.