wifi: ath12k: relax list iteration in ath12k_mac_vif_unref()
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 2 Aug 2023 17:04:09 +0000 (20:04 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 3 Aug 2023 09:17:30 +0000 (12:17 +0300)
commit89a9dda1430a71fe95ad2b4f8056e7aa15b4aee7
tree9f798f3c4a6993c3434b6764b0ebb799c91cf0c1
parent07c01b86f21dd499bd487b70c1536f868fede241
wifi: ath12k: relax list iteration in ath12k_mac_vif_unref()

In ath12k_mac_vif_unref() dp->tx_desc_used_list[i]
is not altered so list_for_each_entry() should be safe.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230704173718.73462-1-dmantipov@yandex.ru
drivers/net/wireless/ath/ath12k/mac.c