From: Amitkumar Karwar Date: Sat, 25 Feb 2012 05:36:05 +0000 (-0800) Subject: mwifiex: handle auto authentication mode correctly X-Git-Tag: v3.4-rc1~177^2~108^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0f6d6caef4033aa9c3e2ea2ceae256c4347a419;p=pandora-kernel.git mwifiex: handle auto authentication mode correctly When authentication type is configured to NL80211_AUTHTYPE_AUTOMATIC, driver tries to connect using open mode. The association is failed if AP is configured in shared mode. This patch adds code to try association using shared mode as well if open mode association fails. Now since we returned exact error code in association response handler (instead of -1), corresponding changes are done in mwifiex_process_cmdresp(). Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed