Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 714909 Details for
Bug 746539
>=net-wireless/iwd-1.8-r3: crash in dmesg at boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kernel patch
nl80211-regdom-fix.patch (text/plain), 1.42 KB, created by
Ben Kohler
on 2021-06-09 14:23:24 UTC
(
hide
)
Description:
kernel patch
Filename:
MIME Type:
Creator:
Ben Kohler
Created:
2021-06-09 14:23:24 UTC
Size:
1.42 KB
patch
obsolete
>From: Luca Coelho <luca@coelho.fi> >To: johannes@sipsolutions.net >Cc: linux-wireless@vger.kernel.org >Subject: [PATCH 05/15] cfg80211: don't WARN if a self-managed device doesn't have a regdom >Date: Fri, 9 Apr 2021 12:40:18 +0300 >Message-ID: <iwlwifi.20210409123755.ba2ea961f4ae.I8fde32d3196e860efa3b4ec464c42194195b42ec@changeid> (raw) >In-Reply-To: <20210409094028.356611-1-luca@coelho.fi> > >From: Emmanuel Grumbach <emmanuel.grumbach@intel.com> > >This can happen if it booted in RF-Kill and didn't have a >chance to get its regulatory domain yet. >This can happen for example if hostapd is started on a device >that is blocked by RF-Kill. > >Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> >Signed-off-by: Luca Coelho <luciano.coelho@intel.com> >--- > net/wireless/nl80211.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c >index 521d36bb0803..f56307185b8a 100644 >--- a/net/wireless/nl80211.c >+++ b/net/wireless/nl80211.c >@@ -7742,8 +7742,8 @@ static int nl80211_get_reg_do(struct sk_buff *skb, struct genl_info *info) > REGULATORY_WIPHY_SELF_MANAGED; > regdom = get_wiphy_regdom(wiphy); > >- /* a self-managed-reg device must have a private regdom */ >- if (WARN_ON(!regdom && self_managed)) { >+ /* a self-managed-reg device should have a private regdom */ >+ if (!regdom && self_managed) { > nlmsg_free(msg); > rtnl_unlock(); > return -EINVAL; >-- >2.31.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 746539
:
668300
| 714909