From: Shengzhen Li Date: Fri, 13 Mar 2015 12:07:54 +0000 (+0530) Subject: mwifiex: avoid queue_work while work is ongoing X-Git-Tag: omap-for-v4.2/o2_dc~131^2~95^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2713f67f7a4c3226772c5ac581c7f37d7c473f1;p=pandora-kernel.git 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: Shengzhen Li Signed-off-by: Zhaoyang Liu Reviewed-by: Cathy Luo Reviewed-by: Amitkumar Karwar Reviewed-by: Avinash Patil Signed-off-by: Kalle Valo --- Reading git-diff-tree failed