From: Johannes Berg Date: Thu, 7 Oct 2010 11:00:33 +0000 (-0700) Subject: iwlagn: check beacon frame size X-Git-Tag: v2.6.37-rc1~147^2~78^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40bbfd4c1b336b8841bef9933b6e09252ace56b8;p=pandora-kernel.git iwlagn: check beacon frame size When the beacon_skb is NULL, we might still attempt to use it in this code path (if we ever get here) -- make the code a bit more defensive and check the return value of iwl_fill_beacon_frame() against zero. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed