From: Sven Neumann Date: Thu, 9 Dec 2010 08:38:36 +0000 (+0100) Subject: libertas: fix potential NULL-pointer dereference X-Git-Tag: v2.6.37-rc8~13^2~31^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a55d5852adbe66722fb1636c82c7864cd5be441;p=pandora-kernel.git libertas: fix potential NULL-pointer dereference The code wants to check if there's a channel and it is not disabled, but it used to check if channel is not NULL and accessed the channel struct if this check failed. Signed-off-by: Sven Neumann Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed