On Friday 31 July 2009 22:35:49 gregor kowski wrote: > The tkip hw support uncovered a bug in b43_write_probe_resp_template : it is > writing at the wrong shm offset, it is in the B43_SHM_SH_TKIPTSCTTAK zone. This > patch comments these writes. > > Signed-off-by: Gregor Kowski <gregor.kowski@xxxxxxxxx> Signed-off-by: Michael Buesch <mb@xxxxxxxxx> > > Index: linux-2.6/drivers/net/wireless/b43/main.c > =================================================================== > --- linux-2.6.orig/drivers/net/wireless/b43/main.c 2009-07-31 > 20:32:21.000000000 +0000 > +++ linux-2.6/drivers/net/wireless/b43/main.c 2009-07-31 > 20:32:28.000000000 +0000 > @@ -1505,10 +1505,13 @@ > /* Looks like PLCP headers plus packet timings are stored for > * all possible basic rates > */ > + /* FIXME this is the wrong offset : it goes in tkip rx phase1 shm */ > +#if 0 > b43_write_probe_resp_plcp(dev, 0x31A, size, &b43_b_ratetable[0]); > b43_write_probe_resp_plcp(dev, 0x32C, size, &b43_b_ratetable[1]); > b43_write_probe_resp_plcp(dev, 0x33E, size, &b43_b_ratetable[2]); > b43_write_probe_resp_plcp(dev, 0x350, size, &b43_b_ratetable[3]); > +#endif > > size = min((size_t) size, 0x200 - sizeof(struct b43_plcp_hdr6)); > b43_write_template_common(dev, probe_resp_data, > > -- Greetings, Michael. -- 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