diff options
| author | Anmin Hsu <anmin.hsu@mediatek.com> | 2015-10-01 23:05:45 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-11 19:34:55 +0200 |
| commit | f078e3d3304821149e6c3272b33fb4a3c8257e31 (patch) | |
| tree | c2162735d77c18bbbaaebcbbfcce3b099a98aeab /arch | |
| parent | 6ec6367187898b2ee6363ec4aa882ad5fde5c599 (diff) | |
wlan: disable CONFIG_CFG80211_WEXT in kernel config
[Detail]
1. Driver/kernel will report tons of RTM_NEWLINK event even driver
scan done if kernel configured with CONFIG_CFG80211_WEXT, which will
make userspace threads busy processing the RTM_NEWLINK event.
Userspace threads will get strange state if cannot handle so much
RTM_NEWLINK event.
2. Kernel Kconfig has post comments for CONFIG_CFG80211_WEXT:
help
Enable this option if you need old userspace for wireless
extensions with cfg80211-based drivers.
Android userspace app support the new CFG80211 API like
wpa_supplicant/hostapd, not need CONFIG_CFG80211_WEXT anymore.
[Solution]
1. Remove CONFIG_CFG80211_WEXT in kernel config.
[Feature] WLAN
MTK-Commit-Id: c146f3f2b2c42d049bcf4fd37579a380f0926550
Change-Id: I020a886d125612b1cc6423afcd8d85a2fcdfa4ea
Signed-off-by: Peiyong Feng <peiyong.feng@mediatek.com>
CR-Id: ALPS02216715
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm64/configs/m2note_debug_defconfig | 2 | ||||
| -rw-r--r-- | arch/arm64/configs/m2note_defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/configs/m2note_debug_defconfig b/arch/arm64/configs/m2note_debug_defconfig index 076fb2270..c49d33fa7 100644 --- a/arch/arm64/configs/m2note_debug_defconfig +++ b/arch/arm64/configs/m2note_debug_defconfig @@ -850,7 +850,7 @@ CONFIG_NL80211_TESTMODE=y # CONFIG_CFG80211_DEFAULT_PS is not set # CONFIG_CFG80211_DEBUGFS is not set CONFIG_CFG80211_INTERNAL_REGDB=y -CONFIG_CFG80211_WEXT=y +# CONFIG_CFG80211_WEXT is not set # CONFIG_LIB80211 is not set CONFIG_CFG80211_ALLOW_RECONNECT=y # CONFIG_MAC80211 is not set diff --git a/arch/arm64/configs/m2note_defconfig b/arch/arm64/configs/m2note_defconfig index e49f20249..8284c74aa 100644 --- a/arch/arm64/configs/m2note_defconfig +++ b/arch/arm64/configs/m2note_defconfig @@ -851,7 +851,7 @@ CONFIG_NL80211_TESTMODE=y # CONFIG_CFG80211_DEFAULT_PS is not set # CONFIG_CFG80211_DEBUGFS is not set CONFIG_CFG80211_INTERNAL_REGDB=y -CONFIG_CFG80211_WEXT=y +# CONFIG_CFG80211_WEXT is not set # CONFIG_LIB80211 is not set CONFIG_CFG80211_ALLOW_RECONNECT=y # CONFIG_MAC80211 is not set |
