diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-03-19 15:59:41 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-26 15:07:28 -0400 |
commit | 4e808a38fdcaeeeddbc05942623279ebe7c02373 (patch) | |
tree | 495e82d14143904cc5f1c036bc1bda0be54928c1 /net | |
parent | b9fc106108f3faf2e4430c3bd5721677c3d6a4a1 (diff) |
rt2x00: rt2800usb: fix status register reread logic
Another good catch from Jakub Kicinski. This patch fixes my
recent commit: ed61e2b02027935520d1be884fac0b2ffce8379a
"rt2x00: rt2800usb: rework txdone code"
We should reread status register only when nobody else start already
reading status i.e. test_and_set_bit(TX_STATUS_READING, flags) return 0.
Reported-by: Jakub Kicinski <moorray@wp.pl>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions