From: Johannes Berg Date: Wed, 15 Apr 2009 19:33:15 +0000 (+0200) Subject: mac80211: avoid crashing when no scan sdata X-Git-Tag: v2.6.30-rc4~68^2~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7181d4673710888b6d7084b37b9d77ed4f4e41b2;p=pandora-kernel.git mac80211: avoid crashing when no scan sdata Using the scan_sdata variable here is terribly wrong, if there has never been a scan then we fail. However, we need a bandaid... Signed-off-by: Johannes Berg Cc: stable@kernel.org [2.6.29] Signed-off-by: John W. Linville --- Reading git-diff-tree failed