rt2500pci: restoring missing line
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Thu, 31 Jul 2008 00:56:34 +0000 (10:56 +1000)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:35 +0000 (15:31 -0400)
commitbf4634afd8bb72936d2d56425ec792ca1bfa92a2
tree9533b75586fc22164d6a3cabda9dacbf7ebf7cbc
parent3b72b01d3ab623c296df49f2d71d40a38bcfb4b3
rt2500pci: restoring missing line

In kernel version 2.6.26-rc9 my wireless LAN card worked; but in the
released 2.6.26, my RaLink rt2500 card wouldn't associate.

Git-bisect led me to this patch:

61486e0f68d1f8966c09b734566a187d42d65c54
rt2x00: Remove ieee80211_tx_control argument from write_tx_desc()

I believe that there is a problem with that patch --- it
(inadvertantly) removes an extra line of code, that used to set the
DATABYTE_COUNT field.

This patch reinstates that line, and with it my card works again.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500pci.c