mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
net: wireless: bcmdhd: Enable wlan access on resume for all sdio functions
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
bbd08c6e95
commit
e1493f1544
|
|
@ -181,11 +181,9 @@ static int bcmsdh_sdmmc_resume(struct device *pdev)
|
|||
{
|
||||
struct sdio_func *func = dev_to_sdio_func(pdev);
|
||||
|
||||
if (func->num != 2)
|
||||
return 0;
|
||||
dhd_mmc_suspend = FALSE;
|
||||
#if defined(OOB_INTR_ONLY)
|
||||
if (dhd_os_check_if_up(bcmsdh_get_drvdata()))
|
||||
if ((func->num == 2) && dhd_os_check_if_up(bcmsdh_get_drvdata()))
|
||||
bcmsdh_oob_intr_set(1);
|
||||
#endif
|
||||
smp_mb();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user