From: Avinash Patil Date: Fri, 12 Sep 2014 14:38:48 +0000 (+0530) Subject: mwifiex: rework internal scan for association X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3223db2086c987d4527fdaa487a027b0148e9692;p=pandora-kernel.git mwifiex: rework internal scan for association There was an issue with internal scan during association wherein we would complete internal scan on first scan command response. This would cause association failure if AP is not found in first scan response e.g. APs from A band. This patch fixes this issue by completing internal scan only when all scan commands from scan pending queue and command pending queue are sent to FW and response to last scan command is received. Tested-by: Xinmin Hu Signed-off-by: Avinash Patil Signed-off-by: Amitkumar Karwar Signed-off-by: Marc Yang Signed-off-by: Cathy Luo Signed-off-by: John W. Linville --- Reading git-diff-tree failed