Hi
        In the function parse_ethernet_functional_descriptor

        if (ether_dev->wNumberMCFilters & (1 << 15)) {
                ether_dev->properties |= PERFECT_FILTERING;
                dbg("Perfect filtering support");
      } else {
                dbg("Imperfect filtering support - need sw hashing");
      }

If the check (ether_dev->wNumberMCFilters & (1 << 15)) succeeds, then it
should be Imperfect Filtering Support as the bit is set for IMPERFECT
FILTERING and is 0 for PERFECT_FILTERING.

Also

          if (0 == (ether_dev->wNumberMCFilters & (0x7f))) {
                ether_dev->properties |= NO_SET_MULTICAST;
                dbg("Can't use SetEthernetMulticastFilters request");
        }

It should be 0x7fff as the wNumberMCFilters is 16 bit.

Thanks and Regards
Vaibhav



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of 
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) 
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to