From: John W. Linville Date: Fri, 22 Jan 2010 17:33:09 +0000 (-0500) Subject: mac80211: avoid NULL ptr deref when using WEP X-Git-Tag: v2.6.34-rc1~233^2~421^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4fca007b06165900d0e44e8d5e251376819bf5d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed