From 99d65680fd2ee233dfe323b039bdc8e7ab44f3ef Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt <dimitrysh@google.com> Date: Mon, 17 Aug 2015 14:09:17 -0700 Subject: [PATCH] net: wireless: bcmdhd: Fix compilation for sdio driver Bug: 22339691 Change-Id: If72c8f2ad7c347d038a318601429f89b86a8db3c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> --- drivers/net/wireless/bcmdhd/dhd_linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c b/drivers/net/wireless/bcmdhd/dhd_linux.c index 82e66b4b5593..6e89f07fb3a9 100644 --- a/drivers/net/wireless/bcmdhd/dhd_linux.c +++ b/drivers/net/wireless/bcmdhd/dhd_linux.c @@ -5986,7 +5986,9 @@ dhd_preinit_ioctls(dhd_pub_t *dhd) setbit(eventmask, WLC_E_TRACE); #ifdef EAPOL_PKT_PRIO +#ifdef CONFIG_BCMDHD_PCIE dhd_update_flow_prio_map(dhd, DHD_FLOW_PRIO_LLR_MAP); +#endif /* CONFIG_BCMDHD_PCIE */ #endif /* EAPOL_PKT_PRIO */ /* Write updated Event mask */ -- GitLab