Build fails when CONFIG_CFG80211 is not enabled
Bug #2007153 reported by
Andrei Gherzan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtl8812au (Ubuntu) |
Fix Released
|
Medium
|
Andrei Gherzan |
Bug Description
When CONFIG_CFG80211 is disabled, the build fails with:
error: ‘struct net_device’ has no member named ‘ieee80211_ptr’
This happens because there is an undefined dependency for this kernel module: CONFIG_CFG80211.
Upstream Kconfig doesn't reflect that dependency:
config RTL8812AU
tristate "Realtek 8812A USB WiFi"
depends on USB
dkms should avoid building if the targetted kernel doesn't come with CONFIG_CFG80211 enabled.
For reference, this was seen while running ADT for linux-kvm, 5.19.0-1019.20.
Related branches
~agherzan/ubuntu/+source/rtl8812au:ag/fix-kvm-builds
Merged
into
ubuntu/+source/rtl8812au:ubuntu/devel
at
revision 08eb782202c0e5eea4fb58afd71ee29f6ade9e2e
- Dimitri John Ledkov: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 13 lines (+5/-0)1 file modifieddebian/rtl8812au-dkms.dkms (+5/-0)
Changed in rtl8812au (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Andrei Gherzan (agherzan) |
tags: | added: sru-2023-01-30 |
tags: |
added: sru-20230130 removed: sru-2023-01-30 |
To post a comment you must log in.
I've also created a MR to fix the Kconfig in upstream: https:/ /github. com/rsalveti/ rtl8812au/ pull/4