iwmc3200wifi: fix a use-after-free bug
authorZhu Yi <yi.zhu@intel.com>
Mon, 20 Jul 2009 03:47:47 +0000 (11:47 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:29 +0000 (15:05 -0400)
commit971ad01169398170976951d3a9479a29d231c734
tree37012c42b226479628293a48e8faf7422d58110d
parent9c7c0cdd24e64f9aed39453a1bffc3b3fd16ef99
iwmc3200wifi: fix a use-after-free bug

The patch fixes a use-after-free bug for cmd->seq_num;

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/hal.c