Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785922 - net-wireless/broadcom-sta: make LIB80211 optional
Summary: net-wireless/broadcom-sta: make LIB80211 optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-27 00:18 UTC by David Michael
Modified: 2021-04-27 13:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix.patch (0001-net-wireless-broadcom-sta-make-CONFIG_LIB80211-optio.patch,1.35 KB, patch)
2021-04-27 00:19 UTC, David Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2021-04-27 00:18:36 UTC
The CONFIG_LIB80211 kernel option is hidden and selected only by enabling drivers unrelated to wl.  I also noticed the lib80211 module wasn't loaded when using wl on 5.11, so I tested, and my BCM43142 still works when it's disabled.  (The only network-related kernel options I needed to enable to use wl were NETDEVICES and CFG80211 and their dependencies.)  Can LIB80211 just be made optional, particularly because linux-info docs say the following?

> The only time fatal checks should be used is for building kernel modules or cases that a compile will fail without the option.
Comment 1 David Michael 2021-04-27 00:19:22 UTC
Created attachment 702642 [details, diff]
fix.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-04-27 13:59:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f55197e3c4f5953895e7dcc0f1d7a1bce5aa396

commit 5f55197e3c4f5953895e7dcc0f1d7a1bce5aa396
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2021-04-27 00:19:01 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-04-27 13:59:06 +0000

    net-wireless/broadcom-sta: make CONFIG_LIB80211 optional
    
    Closes: https://bugs.gentoo.org/785922
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)