mwl8k: fix possible race condition in info->control.sta use
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Wed, 11 Jul 2012 11:21:41 +0000 (13:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Jul 2012 20:24:55 +0000 (16:24 -0400)
info->control.sta may only be dereferenced during the drv_tx call otherwise
could lead to use-after-free bugs

Reported-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found