Mika Westerberg 8975842bed brcmfmac: Do not crash if platform data is not populated
The driver looks for pdata->oob_irq_supported to find out if wowl can be
supported. However, not all platforms populate pdata in which case we crash
the kernel because of NULL pointer dereference.

Fixes: 330b4e4be937 ("brcmfmac: Add wowl support for SDIO devices.")
Reported-by: Christophe Prigent <christophe.prigent@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2014-12-24 15:26:46 +02:00
..
2014-12-14 16:10:09 -08:00
2014-12-24 15:15:25 +02:00
2014-08-26 09:35:54 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-08-11 12:19:53 -07:00
2014-08-11 12:19:53 -07:00
2014-03-17 13:51:52 -04:00
2014-08-28 14:41:56 -04:00
2014-08-28 14:41:56 -04:00