rt2x00: only set TXDONE_FALLBACK in rt2800pci if the frame was retried
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 14 Jun 2010 20:09:41 +0000 (22:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:00:49 +0000 (16:00 -0400)
commitecb7cab59a2b8c0ec1aab6ac903def1d5a81d32b
tree48ff54f180a93432c7d3a9997a8fc0f8d99bcf93
parentfd6dcb883a0e34de90c64a9352c5225066ee7d72
rt2x00: only set TXDONE_FALLBACK in rt2800pci if the frame was retried

TXDONE_FALLBACK expresses that fallback rates were used for retries. Hence,
it only makes sense to set the flag if retries > 0.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c