Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93968147 authored by Marc Yang's avatar Marc Yang Committed by John W. Linville
Browse files

mwifiex: check mwifiex_wmm_lists_empty() before dequeue



add checks to mwifiex_wmm_process_tx() loop so it doesn't re-enter
mwifiex_dequeue_tx_packet() to find it can't send.

Signed-off-by: default avatarMarc Yang <yangyang@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 49729ff6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1254,5 +1254,5 @@ mwifiex_wmm_process_tx(struct mwifiex_adapter *adapter)

		if (mwifiex_dequeue_tx_packet(adapter))
			break;
	} while (true);
	} while (!mwifiex_wmm_lists_empty(adapter));
}