net: mediatek: invalid buffer lookup in mtk_tx_map()
authorJohn Crispin <john@phrozen.org>
Fri, 10 Jun 2016 11:28:00 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:29:29 +0000 (23:29 -0700)
commit2fae723cefb8bfe712371978288aa0a70b54802e
tree622d3a3a1559770f89c41bacf2bf49677f114674
parent605e4fe476956c67ced8518247e6c9601a31b868
net: mediatek: invalid buffer lookup in mtk_tx_map()

The lookup of the tx_buffer in the error path inside mtk_tx_map() uses the
wrong descriptor pointer. This looks like a copy & paste error. Change the
code to use the correct pointer.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c