mwifiex: avoid queue_work while work is ongoing
Current code does not check whether main_work_queue or rx_work_queue is running when preparing to do queue_work, this code fix add check before calling queue_work, reducing unnecessary queue_work switch. This change instead sets more_task flag to ensure we run main_process superloop once again. Signed-off-by: NShengzhen Li <szli@marvell.com> Signed-off-by: NZhaoyang Liu <liuzy@marvell.com> Reviewed-by: NCathy Luo <cluo@marvell.com> Reviewed-by: NAmitkumar Karwar <akarwar@marvell.com> Reviewed-by: NAvinash Patil <patila@marvell.com> Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
Showing
想要评论请 注册 或 登录