Daniel Drake
71005be40a
libertas: Set command sequence number later to ensure consistency
...
Before this patch, the command sequence number is being set before
lbs_queue_cmd() adds the command to the queue. However, lbs_queue_cmd()
sometimes forces commands to queue-jump (e.g. CMD_802_11_WAKEUP_CONFIRM).
It currently does this without considering that sequence numbers might need
adjusting to keep things running in order.
Fix this by setting the sequence number at a later stage, just before
we're actually submitting the command to the hardware. Also fixes a
possible race where seqnum was being modified outside of the driver
lock.
Signed-off-by: Daniel Drake <dsd@laptop.org >
Acked-by: Dan Williams <dcbw@redhat.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2011-05-31 14:47:23 -04:00
..
2011-05-23 09:12:26 -07:00
2011-04-11 22:54:42 +02:00
2011-05-20 14:31:27 -07:00
2011-05-20 13:43:21 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-05-16 14:25:29 -04:00
2011-05-22 21:41:57 -07:00
2011-05-16 19:32:19 -04:00
2011-04-29 10:17:25 +02:00
2011-05-23 09:08:19 -07:00
2011-04-30 10:14:08 +01:00
2011-05-14 12:06:36 +02:00
2011-04-12 14:38:57 -07:00
2011-05-19 17:55:12 -07:00
2011-05-20 17:24:14 -07:00
2011-05-23 09:12:26 -07:00
2011-05-18 12:32:23 -06:00
2011-05-10 22:53:46 +02:00
2011-05-23 09:12:26 -07:00
2011-04-26 10:24:37 +02:00
2011-05-23 09:12:26 -07:00
2011-05-23 12:49:25 +02:00
2011-05-21 07:29:17 -07:00
2011-05-23 09:12:26 -07:00
2011-05-22 22:08:32 -07:00
2011-05-05 10:57:45 -07:00
2011-05-22 21:41:57 -07:00
2011-05-19 18:19:12 +02:00
2011-05-25 17:55:32 -04:00
2011-05-23 09:12:26 -07:00
2011-05-06 09:27:55 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-05-11 11:09:58 +02:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-19 09:55:46 +01:00
2011-05-31 14:47:23 -04:00
2011-04-20 17:01:19 +10:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:36:24 -07:00
2011-05-19 17:28:58 -07:00
2011-04-26 23:31:11 -07:00
2011-05-23 09:12:26 -07:00
2011-03-31 11:26:23 -03:00
2011-04-26 10:22:59 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-18 02:55:22 -07:00
2011-05-10 10:11:29 +02:00
2011-05-19 17:45:08 -07:00
2011-05-20 13:43:21 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-18 23:24:50 +02:00
2011-05-20 13:43:21 -07:00
2011-05-25 13:28:55 -04:00
2011-05-23 09:12:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-04-19 16:59:57 -07:00
2011-05-23 09:12:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-06 09:27:55 -07:00
2011-05-23 09:12:26 -07:00
2011-04-21 22:57:00 +09:30
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-20 13:43:21 -07:00
2011-05-10 15:54:54 -04:00