From: Stone Piao Date: Wed, 26 Sep 2012 03:23:39 +0000 (-0700) Subject: mwifiex: send firmware initialization commands synchronously X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~30^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bff9c974e1a70819c30c37d8ec0d84d456f8237;p=pandora-kernel.git mwifiex: send firmware initialization commands synchronously The driver will send some commands to firmware during the initialization. Currently these commands are sent asynchronously, which means that we firstly insert all of them to a pre-allocated command queue, and then start to process them one by one. The command queue will soon be exhausted if we keep adding new initialization commands. This issue can be resolved by sending initialization commands synchronously because each command is consumed and the buffer is recycled before queuing next command. Signed-off-by: Stone Piao Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed