From 7326f5a23fc2102360dd1295c67f73b4d8d0cd52 Mon Sep 17 00:00:00 2001 From: Aymen Zayet Date: Mon, 21 Nov 2011 19:04:11 +0100 Subject: [PATCH] kernel: Adding FLAGS required by the wifi. BZ: 15061 Actually, the wifi driver is based on compat wireless modules that requires WL12XX_PLATFORM_DATA to be enabled within the kernel. So it shall be enabled by default with WL12XX. The wifi uses two AON gpios and thus the wifi interrupt handler is forwarded by the GPIO driver. So to prevent losing wifi interrupts, HARDIRQS_SW_RESEND shall be used. Change-Id: Ic61fd84cc2ef849e7b97bb90164e53b9f0ba944d Signed-off-by: Aymen Zayet Reviewed-on: http://android.intel.com:8080/25377 Reviewed-by: Champciaux, NicolasX Tested-by: Champciaux, NicolasX Reviewed-by: buildbot Tested-by: buildbot --- arch/x86/Kconfig | 5 +++++ drivers/net/wireless/wl12xx/Kconfig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5d96500..e8ef267 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -395,6 +395,10 @@ config X86_INTEL_MID if X86_INTEL_MID +config HARDIRQS_SW_RESEND + bool + default y + config X86_MRST bool "Moorestown MID platform" depends on PCI @@ -405,6 +409,7 @@ config X86_MRST select SPI select INTEL_SCU_IPC select X86_PLATFORM_DEVICES + select HARDIRQS_SW_RESEND ---help--- Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin Internet Device(MID) platform. Moorestown consists of two chips: diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig index 35ce7b0..870e004 100644 --- a/drivers/net/wireless/wl12xx/Kconfig +++ b/drivers/net/wireless/wl12xx/Kconfig @@ -64,5 +64,5 @@ config WL12XX_SDIO_TEST config WL12XX_PLATFORM_DATA bool - depends on WL12XX_SDIO != n || WL1251_SDIO != n + depends on WL12XX_SDIO != n || WL1251_SDIO != n || WL12XX default y -- 2.7.4