git: 9e782bfab904 - stable/13 - LinuxKPI: 802.11: fix indent in lkpi_wake_tx_queues()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Feb 2023 23:44:58 UTC
The branch stable/13 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=9e782bfab9042aed12c36746534b1e4e4ec6d597
commit 9e782bfab9042aed12c36746534b1e4e4ec6d597
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-01-31 23:12:30 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-02-17 23:42:16 +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
(cherry picked from commit b0ddb44fd427d44b8153781ce9c461e393771aff)
---
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 b2969aeb5db2..bcd8ea9d4c6e 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -861,24 +861,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(<xq->skbq))
- continue;
+ if (no_emptyq && skb_queue_empty(<xq->skbq))
+ continue;
- lkpi_80211_mo_wake_tx_queue(hw, sta->txq[tid]);
+ lkpi_80211_mo_wake_tx_queue(hw, sta->txq[tid]);
}
}