From: Samuel Ortiz Date: Fri, 16 Oct 2009 05:18:55 +0000 (+0800) Subject: iwmc3200wifi: Check for cmd pointer before dereferencing it X-Git-Tag: v2.6.33-rc1~388^2~599^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708567e0723f3a217286c2b60805af6de360ec50;p=pandora-kernel.git iwmc3200wifi: Check for cmd pointer before dereferencing it The wifi_if_wrapper notification handling code uses a cmd pointer without checking if it's valid or not. We're dereferencing it because we assume that we only get to that point if there was a pending command for us. That's not always true, so we'd better check. Signed-off-by: Samuel Ortiz Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- Reading git-diff-tree failed