2010/1/6 Michael Buesch <mb@xxxxxxxxx>: > On Wednesday 06 January 2010 16:40:32 Rafał Miłecki wrote: >> +static void b43_nphy_stay_carrier_search(struct b43_wldev *dev, bool enable) >> +{ >> + struct b43_phy *phy = &dev->phy; >> + struct b43_phy_n *nphy = phy->n; >> + >> + if (enable) { >> + u16 clip[] = { 0xFFFF, 0xFFFF }; >> + if (nphy->deaf_count++ == 0) { >> + nphy->classifier_state = b43_nphy_classifier(dev, 0, 0); >> + b43_nphy_classifier(dev, 0x7, 0); >> + b43_nphy_read_clip_detection(dev, nphy->clip_state); >> + b43_nphy_write_clip_detection(dev, clip); >> + } >> + b43_nphy_reset_cca(dev); >> + } else { >> + if (--nphy->deaf_count != 0) { > > If this test logic correct? The following would make more sense to me: Huuh, thanks for catching that! I believe you saved me from long debugging in future. -- Rafał -- 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