diff mbox series

ath11k: mac: fix long line

Message ID 20220708170052.28615-1-kvalo@kernel.org
State New
Headers show
Series ath11k: mac: fix long line | expand

Commit Message

Kalle Valo July 8, 2022, 5 p.m. UTC
From: Kalle Valo <quic_kvalo@quicinc.com>

Recent mac80211 API changes introduced a long line warning in ath11k:

drivers/net/wireless/ath/ath11k/mac.c:1404: line length of 92 exceeds 90 columns

Compile tested only.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
---
 drivers/net/wireless/ath/ath11k/mac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


base-commit: f6bb3df74ceb88929dd7e09170ec156ac2e5d809

Comments

Kalle Valo July 18, 2022, 10:02 a.m. UTC | #1
Kalle Valo <kvalo@kernel.org> wrote:

> Recent mac80211 API changes introduced a long line warning in ath11k:
> 
> drivers/net/wireless/ath/ath11k/mac.c:1404: line length of 92 exceeds 90 columns
> 
> Compile tested only.
> 
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

fcc36be423a4 wifi: ath11k: mac: fix long line
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index 17dbc7d9cf29..7f3e9c30cfb0 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -1401,7 +1401,8 @@  void ath11k_mac_bcn_tx_event(struct ath11k_vif *arvif)
 	if (!vif->bss_conf.color_change_active && !arvif->bcca_zero_sent)
 		return;
 
-	if (vif->bss_conf.color_change_active && ieee80211_beacon_cntdwn_is_complete(vif)) {
+	if (vif->bss_conf.color_change_active &&
+	    ieee80211_beacon_cntdwn_is_complete(vif)) {
 		arvif->bcca_zero_sent = true;
 		ieee80211_color_change_finish(vif);
 		return;