summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2008-06-06 10:56:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-06 11:31:02 -0700
commiteb4e545d4ac82d9018487edb4419b33b9930c857 (patch)
tree2b7d2e5b7338a77dea99b9a61026f163dc38b791 /drivers/mtd
parent979b0fea2d9ae5d57237a368d571cbc84655fba6 (diff)
ipwireless: Fix blocked sending
Packet sending is driven by two flags, tx_ready and tx_queued. It was possible, that there were queued data for sending and hardware was flagged as blocked but in fact it was not. The tx_queued was indicator but should be really a counter else first fragmented packet resets tx_queued flag, but there may be pending packets which do not get sent. New semantics: tx_ready - set, if hw is ready to send packet, no packet is being transferred right now set the flag right at the place where data are copied into hw memory and not earlier without checking if it was succesful tx_queued - count of enqueued packets, including fragments Tested-by: Michal Rokos <michal.rokos@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions