diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2014-12-23 17:48:32 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2014-12-24 16:26:46 +0300 |
commit | 8975842bed0840f314281c9fbf021a1d29537cf0 (patch) | |
tree | 691cfe3c000f41ee8cbefa614a7f4a87bc759efd /drivers/net/ppp/Makefile | |
parent | dddd60220f41775e634258efd1b54c6fa81ce706 (diff) | |
download | linux-8975842bed0840f314281c9fbf021a1d29537cf0.tar.xz |
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>
Diffstat (limited to 'drivers/net/ppp/Makefile')
0 files changed, 0 insertions, 0 deletions