From: Stanislaw Gruszka Date: Wed, 10 Aug 2011 13:32:23 +0000 (+0200) Subject: rt2x00: fix order of entry flags modification X-Git-Tag: v3.1-rc4~51^2~1^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df71c9cfceea801e7e26e2c74241758ef9c042e5;p=pandora-kernel.git rt2x00: fix order of entry flags modification In rt2800usb_work_txdone we check flags in order: - ENTRY_OWNER_DEVICE_DATA - ENTRY_DATA_STATUS_PENDING - ENTRY_DATA_IO_FAILED Modify flags in separate order in rt2x00usb_interrupt_txdone, to avoid processing entries in _txdone with wrong flags or skip processing ready entries. Reported-by: Justin Piszcz Cc: stable@kernel.org Signed-off-by: Stanislaw Gruszka Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed