2010/1/6 Michael Buesch <[email protected]>:
> 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ł
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to