brcm80211: fix missing allocation failure check
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Sep 2012 09:05:26 +0000 (10:05 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Sep 2012 18:42:44 +0000 (14:42 -0400)
commit4abd044af91057f7ea661a0f10c00a9673beef6b
tree86b7f6cfa8cdca0de5d4fbe0016a17cae9f23847
parent74673db99ca3c09d34ea479f684522ceedb65eb9
brcm80211: fix missing allocation failure check

Check for oobirq_entry allocation failure to avoid
NULL pointer dereferencing.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c