aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tkip.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-01-22 12:33:09 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-22 12:39:14 -0500
commite4fca007b06165900d0e44e8d5e251376819bf5d (patch)
tree3abf108c8ff0ab50de3875bd1dd5b05454e30f98 /net/mac80211/tkip.c
parent64147c729732ba9c9e50966971bdfbd503c888bb (diff)
downloadkernel_samsung_smdk4412-e4fca007b06165900d0e44e8d5e251376819bf5d.zip
kernel_samsung_smdk4412-e4fca007b06165900d0e44e8d5e251376819bf5d.tar.gz
kernel_samsung_smdk4412-e4fca007b06165900d0e44e8d5e251376819bf5d.tar.bz2
mac80211: avoid NULL ptr deref when using WEP
"mac80211: move control.hw_key assignment" changed an if-else into two separate if statments, but the if-else is needed to prevent dereferencing a null info->control.hw_key. This fixes avoids a lock-up during association on my machine when using WEP. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tkip.c')
0 files changed, 0 insertions, 0 deletions