Date: Fri, 27 Feb 2026 02:29:31 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1ad47b5068ec - stable/15 - LinuxKPI: 802.11: only announce netdev_features if any are set Message-ID: <69a1018b.1fd76.7abf22c5@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=1ad47b5068eccbb86c4459eb095b038abd424058 commit 1ad47b5068eccbb86c4459eb095b038abd424058 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-01-29 11:17:25 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-02-26 23:00:17 +0000 LinuxKPI: 802.11: only announce netdev_features if any are set Printing an empty netdev_features= line makes little sense even under bootverbose. Sponsored by: The FreeBSD Foundation (cherry picked from commit 5cfe09e3a442347fe408fa95126dfbc051d064c3) --- sys/compat/linuxkpi/common/src/linux_80211.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index d25b32f1dae8..4ce0a2094adb 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -6972,7 +6972,9 @@ linuxkpi_ieee80211_ifattach(struct ieee80211_hw *hw) } if (bootverbose) { - ic_printf(ic, "netdev_features %b\n", hw->netdev_features, NETIF_F_BITS); + if (hw->netdev_features != 0) + ic_printf(ic, "netdev_features %b\n", + hw->netdev_features, NETIF_F_BITS); ieee80211_announce(ic); }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a1018b.1fd76.7abf22c5>
