]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rt2800pci: don't use TXWI_DESC_SIZE directly
authorGabor Juhos <juhosg@openwrt.org>
Sat, 22 Jun 2013 14:31:58 +0000 (16:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Jun 2013 18:44:25 +0000 (14:44 -0400)
commit8a28dc321c3524a18291fc0f872307f841d7e869
treed1f502ad7eae103246f725fb29b3a72d1c564d88
parent071e43e314221ed9a8508a390021d4809ee6718a
rt2x00: rt2800pci: don't use TXWI_DESC_SIZE directly

Different chipsets may use different TXWI descriptor
size. Instead of using a hardcoded value, use the
'queue->winfo_size' which holds the correct value for
a given device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c