Fix the following warning:
  platform regulatory.0: Direct firmware load for regulatory.db failed with 
error -2
  cfg80211: failed to load regulatory.db

If CFG80211 is a built-in driver, it will try to load regulatory.db from
/lib/firmware. But file system may not be ready at that time. So remove the
override and make CFG80211 a loadable module.

Signed-off-by: Yongxin Liu <yongxin....@windriver.com>
---
 bsp/intel-x86/intel-x86-cfg80211-overrides.cfg | 3 ---
 bsp/intel-x86/intel-x86.scc                    | 1 -
 2 files changed, 4 deletions(-)
 delete mode 100644 bsp/intel-x86/intel-x86-cfg80211-overrides.cfg

diff --git a/bsp/intel-x86/intel-x86-cfg80211-overrides.cfg 
b/bsp/intel-x86/intel-x86-cfg80211-overrides.cfg
deleted file mode 100644
index 26957814..00000000
--- a/bsp/intel-x86/intel-x86-cfg80211-overrides.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: MIT
-CONFIG_CFG80211=y
-CONFIG_MAC80211=y
diff --git a/bsp/intel-x86/intel-x86.scc b/bsp/intel-x86/intel-x86.scc
index 572a9abb..08ad990a 100644
--- a/bsp/intel-x86/intel-x86.scc
+++ b/bsp/intel-x86/intel-x86.scc
@@ -61,6 +61,5 @@ kconf hardware intel-x86-acpi.cfg
 kconf hardware intel-x86-igb-overrides.cfg
 kconf hardware intel-x86-ixgbe-overrides.cfg
 kconf hardware intel-x86-i915-overrides.cfg
-kconf hardware intel-x86-cfg80211-overrides.cfg
 kconf hardware intel-x86-dptf-overrides.cfg
 kconf hardware intel-x86-serial-8250-overrides.cfg
-- 
2.14.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10352): 
https://lists.yoctoproject.org/g/linux-yocto/message/10352
Mute This Topic: https://lists.yoctoproject.org/mt/85317820/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to