Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 01:11:10 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9ad210c15933 - main - iwlwifi: fix the build
Message-ID:  <202202230111.21N1BAUG059498@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ad210c15933e5a49c51fba134e77d84cfdba94f

commit 9ad210c15933e5a49c51fba134e77d84cfdba94f
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-02-23 01:09:26 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-02-23 01:09:26 +0000

    iwlwifi: fix the build
    
    Pull in a case statement from the upcoming iwlwifi update to
    unbreak the build after d875aa1587ce7d1651cabe395ed991f2384795cd .
    
    Reported by:    cy
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    X-MFC with:     d875aa1587ce7d1651cabe395ed991f2384795cd
---
 sys/contrib/dev/iwlwifi/mvm/sta.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/contrib/dev/iwlwifi/mvm/sta.c b/sys/contrib/dev/iwlwifi/mvm/sta.c
index 70267a6cd4b4..dcac03ddc26d 100644
--- a/sys/contrib/dev/iwlwifi/mvm/sta.c
+++ b/sys/contrib/dev/iwlwifi/mvm/sta.c
@@ -90,6 +90,7 @@ int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
 	}
 
 	switch (sta->bandwidth) {
+	case IEEE80211_STA_RX_BW_320:
 	case IEEE80211_STA_RX_BW_160:
 		add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_160MHZ);
 		fallthrough;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202230111.21N1BAUG059498>