atom feed3 messages in org.kernel.vger.kernel-janitorsRe: [patch] iwlwifi: range checking i...
FromSent OnAttachments
Dan CarpenterMar 28, 2010 4:54 am 
Zhu YiMar 28, 2010 7:00 pm 
reinette chatreMar 29, 2010 9:13 am 
Subject:Re: [patch] iwlwifi: range checking issue
From:Zhu Yi (yi.@intel.com)
Date:Mar 28, 2010 7:00:11 pm
List:org.kernel.vger.kernel-janitors

On Sun, 2010-03-28 at 19:55 +0800, Dan Carpenter wrote:

IWL_RATE_COUNT is 13 and IWL_RATE_COUNT_LEGACY is 12.

IWL_RATE_COUNT_LEGACY is the right one here because iwl3945_rates doesn't support 60M and also that's how "rates" is defined in iwlcore_init_geos() from drivers/net/wireless/iwlwifi/iwl-core.c.

rates = kzalloc((sizeof(struct ieee80211_rate) * IWL_RATE_COUNT_LEGACY), GFP_KERNEL);

Thanks, -yi