mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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: 330b4e4be9 ("brcmfmac: Add wowl support for SDIO devices.")
Reported-by: Christophe Prigent <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>