Skip to content

Commit

Permalink
defconfi: begoniag: disable CFG80211_INTERNAL_REGDB
Browse files Browse the repository at this point in the history
* This is totally unneeded, even linux documentation says it's unneeded.
* But it is enabled here for some unknown reasons, and even has an empty database built into the kernel.
* this resolves this warning:
[    0.449222] (7)[1:swapper/0]------------[ cut here ]------------
[    0.449236] (7)[1:swapper/0]WARNING: CPU: 7 PID: 1 at ../net/wireless/reg.c:517 regulatory_init+0x15c/0x164
[    0.449242] (7)[1:swapper/0]db.txt is empty, you should update it...
[    0.449245] (7)[1:swapper/0]Modules linked in:
[    0.449259] -(7)[1:swapper/0]CPU: 7 PID: 1 Comm: swapper/0 Tainted: G S      W       4.14.141-eva-g27c22b51887a-dirty AgentFabulous#2
[    0.449265] -(7)[1:swapper/0]Hardware name: MT6853T (DT)
[    0.449270] -(7)[1:swapper/0]Call trace:
[    0.449282] -(7)[1:swapper/0][<ffffff954786111c>] dump_backtrace+0x0/0x4
[    0.449292] -(7)[1:swapper/0][<ffffff954782fdbc>] dump_stack+0xc4/0xfc
[    0.449302] -(7)[1:swapper/0][<ffffff9546155460>] __warn+0xf4/0x180
[    0.449311] -(7)[1:swapper/0][<ffffff9546155a44>] warn_slowpath_fmt+0x70/0x94
[    0.449318] -(7)[1:swapper/0][<ffffff9548041468>] regulatory_init+0x15c/0x164
[    0.449326] -(7)[1:swapper/0][<ffffff954804117c>] cfg80211_init+0x138/0x2c8
[    0.449335] -(7)[1:swapper/0][<ffffff954608ad6c>] do_one_initcall+0x238/0x4cc
[    0.449345] -(7)[1:swapper/0][<ffffff9547fa1a6c>] kernel_init_freeable+0x2f0/0x438
[    0.449354] -(7)[1:swapper/0][<ffffff954784950c>] kernel_init+0x10/0x378
[    0.449362] -(7)[1:swapper/0][<ffffff954608506c>] ret_from_fork+0x10/0x18
[    0.449368] (7)[1:swapper/0]---[ end trace 7ad0f2f7217356a2 ]---

Signed-off-by: Vaisakh Murali <[email protected]>
  • Loading branch information
mvaisakh authored and ZIDAN44 committed Aug 31, 2021
1 parent fcf8ea9 commit f3b88f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/configs/begonia_user_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CONFIG_CFG80211=y
CONFIG_NL80211_TESTMODE=y
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
# CONFIG_CFG80211_DEFAULT_PS is not set
CONFIG_CFG80211_INTERNAL_REGDB=y
# CONFIG_CFG80211_INTERNAL_REGDB is not set
# CONFIG_UEVENT_HELPER is not set
CONFIG_ZRAM=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
Expand Down

0 comments on commit f3b88f2

Please sign in to comment.