On Fri, Aug 14, 2009 at 12:59:08PM +0200, Stanislaw Gruszka wrote: > From: Pavel Roskin <proski@xxxxxxx> > > Change rt2x00_rf_read() and rt2x00_rf_write() to subtract 1 from the rf > register number. This is needed because the rf registers are enumerated > starting with one. The size of the rf register cache is just enough to > hold all registers, so writing to the highest register was corrupting > memory. Add a check to make sure that the rf register number is valid. > > Signed-off-by: Pavel Roskin <proski@xxxxxxx> > Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> > --- > I think nobody send this patch against stable yet. I have problem with > rt73usb memory corruption on 2.6.30, this patch solve it. Not sure if > patch is also useful for 2.6.27. Thanks for pointing this out, I missed the memory corruption comment. Since this hasn't gone to Linus yet, I don't think the stable guys will take it. I'll add a "Cc: stable@xxxxxxxxxx" when I send it to Dave/Linus so that the stable guys will see it automatically. John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html