]> err.no Git - linux-2.6/commit
iwl4965: fix cannot find a suitable rate issue
authorMohamed Abbas <mabbas@linux.intel.com>
Wed, 7 Nov 2007 06:06:25 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:33 +0000 (15:04 -0800)
commit403ab56b1c2786b0e1d58c27f5ce667b529c7faa
tree684e4425c26b8244863740c1f69cc612eddff2ed
parent3567c11d7212cd9d29a16c39b4f2da86c4f94aee
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 <mabbas@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c