aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_spi.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-11-24 16:00:49 +0000
committerJohn W. Linville <linville@tuxdriver.com>2010-11-29 14:41:27 -0500
commit517ff43146b17a0d067125f098f675d1e0ac2d82 (patch)
treefdac47449da391f1e3f1b1e6ec17553fbb97fa65 /drivers/net/wireless/libertas/if_spi.c
parente476a5a41ad67d0e2b4a652820c49a3923eb936b (diff)
downloadkernel_samsung_smdk4412-517ff43146b17a0d067125f098f675d1e0ac2d82.zip
kernel_samsung_smdk4412-517ff43146b17a0d067125f098f675d1e0ac2d82.tar.gz
kernel_samsung_smdk4412-517ff43146b17a0d067125f098f675d1e0ac2d82.tar.bz2
libertas: fix memory corruption in lbs_remove_card()
"priv" is stored at the end of the wiphy structure, which is freed during the call to lbs_cfg_free(). It must not be touched afterwards. Remove the unnecessary NULL assignment causing this memory corruption. Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_spi.c')
0 files changed, 0 insertions, 0 deletions