[PATCH v2] ath6kl: iw dev wlan0 link implementation

Kalle Valo kvalo at adurom.com
Wed May 11 02:38:09 UTC 2011


Greg KH <gregkh at suse.de> writes:

>> +	static const s32 legacy[] = { 1000, 2000, 5500, 11000,
>> +				      6000, 9000, 12000, 18000, 24000,
>> +				      36000, 48000, 54000 };
>> +	u8 i;
>> +
>> +	for (i = 0; i < 12; i++) {
>
> Please use ARRAY_SIZE for this, and your other loop variables to ensure
> that you got it right.

Good point, I missed that. I'll send v3.

Thanks.

-- 
Kalle Valo



More information about the devel mailing list