From: Mariusz Kozlowski Date: Sat, 26 Mar 2011 18:26:55 +0000 (+0100) Subject: cfg80211:: fix possible NULL pointer dereference X-Git-Tag: v2.6.39-rc2~7^2~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef9bacc4ec7ea6a02876164cd6ccaa4759edce4;p=pandora-kernel.git cfg80211:: fix possible NULL pointer dereference In cfg80211_inform_bss_frame() wiphy is first dereferenced on privsz initialisation and then it is checked for NULL. This patch fixes that. Signed-off-by: Mariusz Kozlowski Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed