]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath11k: avoid forward declaration of ath11k_mac_start_vdev_delay()
authorBaochen Qiang <quic_bqiang@quicinc.com>
Tue, 23 Jan 2024 02:56:59 +0000 (10:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:56:23 +0000 (18:56 +0200)
commit6bf93442676003435700bc50a6f6ef9ce2f77945
tree5cfa8542f44c523f22465c47431e820ba406802f
parent38b86b0a37df064c7694871e8583ff9204482f88
wifi: ath11k: avoid forward declaration of ath11k_mac_start_vdev_delay()

[ Upstream commit ce59902e56ea0477ad9bef0067d0e47b6c4d707d ]

Currently ath11k_mac_start_vdev_delay() needs a forward declaration because
it is defined after where it is called. Avoid this by re-arranging
ath11k_mac_station_add() and ath11k_mac_op_sta_state().

No functional changes. Compile tested only.

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240123025700.2929-4-quic_bqiang@quicinc.com
Stable-dep-of: 97acb0259cc9 ("wifi: ath11k: fix group data packet drops during rekey")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath11k/mac.c