From: Amitkumar Karwar Date: Wed, 9 Jan 2013 01:53:10 +0000 (-0800) Subject: mwifiex: update config_bands during infra association X-Git-Tag: v3.8-rc6~20^2~45^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b9c5204e9c6810a20d509ee47bc70419096e59;p=pandora-kernel.git mwifiex: update config_bands during infra association Currently "adapter->config_bands" is updated during infra association only if channel is provided by user in "iw connect" command. config_bands is used while preparing association request to calculate supported rates by intersecting our rates with the rates advertised by AP. There is corner case in which we include zero rates in supported rates TLV based on previous IBSS network history, which leads to association failure. This patch fixes the problem by correctly updating config_bands. Cc: "3.7.y" Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed