The branch main has been updated by bz:

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

commit b0ddb44fd427d44b8153781ce9c461e393771aff
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2023-01-31 23:12:30 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2023-01-31 23:12:30 +0000

    LinuxKPI: 802.11: fix indent in lkpi_wake_tx_queues()
    
    Fix indentation in lkpi_wake_tx_queues().
    No functional changes.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 sys/compat/linuxkpi/common/src/linux_80211.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c 
b/sys/compat/linuxkpi/common/src/linux_80211.c
index 491002cd6df5..dc158699f4cf 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -867,24 +867,24 @@ lkpi_wake_tx_queues(struct ieee80211_hw *hw, struct 
ieee80211_sta *sta,
        /* Wake up all queues to know they are allocated in the driver. */
        for (tid = 0; tid < nitems(sta->txq); tid++) {
 
-                       if (tid == IEEE80211_NUM_TIDS) {
-                               IMPROVE("station specific?");
-                               if (!ieee80211_hw_check(hw, STA_MMPDU_TXQ))
-                                       continue;
-                       } else if (tid >= hw->queues)
+               if (tid == IEEE80211_NUM_TIDS) {
+                       IMPROVE("station specific?");
+                       if (!ieee80211_hw_check(hw, STA_MMPDU_TXQ))
                                continue;
+               } else if (tid >= hw->queues)
+                       continue;
 
-                       if (sta->txq[tid] == NULL)
-                               continue;
+               if (sta->txq[tid] == NULL)
+                       continue;
 
-                       ltxq = TXQ_TO_LTXQ(sta->txq[tid]);
-                       if (dequeue_seen && !ltxq->seen_dequeue)
-                               continue;
+               ltxq = TXQ_TO_LTXQ(sta->txq[tid]);
+               if (dequeue_seen && !ltxq->seen_dequeue)
+                       continue;
 
-                       if (no_emptyq && skb_queue_empty(&ltxq->skbq))
-                               continue;
+               if (no_emptyq && skb_queue_empty(&ltxq->skbq))
+                       continue;
 
-                       lkpi_80211_mo_wake_tx_queue(hw, sta->txq[tid]);
+               lkpi_80211_mo_wake_tx_queue(hw, sta->txq[tid]);
        }
 }
 

Reply via email to