mirror of https://gitee.com/openkylin/linux.git
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: Marc Yang <yangyang@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
49729ff616
commit
9396814787
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue