Commit d7c5ecbc authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()



[ Upstream commit 3cfb7df2 ]

This code re-uses "i" to be the iterator for both the inside and outside
loops.  It means the outside loop will exit earlier than intended.

Fixes: d219b7eb ("mwifiex: handle BT coex event to adjust Rx BA window size")
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/Y+ERnaDaZD7RtLvX@kili


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3185d6cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment