kernel-fxtec-pro1x/drivers/char/pcmcia/ipwireless
David Sterba eb4e545d4a 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>
2008-06-06 11:31:02 -07:00
..
hardware.c ipwireless: Fix blocked sending 2008-06-06 11:31:02 -07:00
hardware.h ipwireless: remove dead code 2008-04-29 08:06:01 -07:00
main.c
main.h
Makefile
network.c ipwireless: remove dead code 2008-04-29 08:06:01 -07:00
network.h ipwireless: remove dead code 2008-04-29 08:06:01 -07:00
setup_protocol.h
tty.c
tty.h