summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-04-20 14:02:58 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-04-25 18:50:15 (GMT)
commit2624e96ce16bacae0e422d5775eac6d4fc33239a (patch)
tree7a1454ce758150d0e3fb83cff87cb0f184b8b42c /drivers/net/wireless/mwl8k.c
parent9f2e731d1d278d853def1567735d8a823668a3c8 (diff)
downloadlinux-fsl-qoriq-2624e96ce16bacae0e422d5775eac6d4fc33239a.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
0 files changed, 0 insertions, 0 deletions