From: Mohamed Abbas Date: Wed, 7 Nov 2007 06:06:25 +0000 (-0800) Subject: iwl4965: fix cannot find a suitable rate issue X-Git-Tag: v2.6.25-rc1~1162^2~559 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403ab56b1c2786b0e1d58c27f5ce667b529c7faa;p=pandora-kernel.git iwl4965: fix cannot find a suitable rate issue This patch fixes the iwl4965 problem for "Can not find a suitable rate issues." by making rs_switch_to_mimo and rs_switch_to_siso functions return -1 when CONFIG_IWL4965_HT is not selected. They used to return 0, which means we can switch to HT rate causing the rate scale problem and the error message. The patch also fix another bug reported by Ben Cahill that it uses wrong value for max_success_limit. Signed-off-by: Mohamed Abbas Signed-off-by: Zhu Yi Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed