Stanislaw Gruszka 2624e96ce1 iwlwifi: fix possible data overwrite in hcmd callback
My commit 3598e1774c94e55c71b585340e7dc4538f310e3f
"iwlwifi: fix enqueue hcmd race conditions" move hcmd callback after
command queue reclaim, to avoid call it with hcmd_lock. But since
queue read index was updated, cmd data can be overwritten. Fix problem
by calling callback before taking hcmd_lock and queue reclaim.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-25 14:50:15 -04:00
..
2011-03-28 07:42:58 -07:00
2011-03-29 18:19:06 +02:00
2011-03-29 14:50:42 +02:00
2011-03-22 17:43:59 -07:00
2011-03-18 17:15:11 -07:00
2011-03-22 17:43:59 -07:00
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-22 17:44:17 -07:00
2011-03-29 14:48:13 +02:00
2011-03-28 19:33:04 +02:00
2011-03-29 10:01:05 -04:00