The branch main has been updated by bz:

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

commit 9ad210c15933e5a49c51fba134e77d84cfdba94f
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2022-02-23 01:09:26 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
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;

Reply via email to