]> git.karo-electronics.de Git - mv-sheeva.git/commit
p54pci: fix bugs in p54p_check_tx_ring
authorHans de Goede <hdegoede@redhat.com>
Thu, 22 Apr 2010 17:52:16 +0000 (19:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:18:42 +0000 (14:18 -0400)
commit0250ececdf6813457c98719e2d33b3684881fde0
treeadaa956def6a31544d7bd11f565ed8d34f9512e4
parentfe6f212ce12341df18ef9b890bea739b4547157b
p54pci: fix bugs in p54p_check_tx_ring

Hans de Goede identified a bug in p54p_check_tx_ring:

there are two ring indices. 1 => tx data and 3 => tx management.
But the old code had a constant "1" and this resulted in spurious
dma unmapping failures.

Cc: stable@kernel.org
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=583623
Bug-Identified-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54pci.c